From: peter g. <pga...@li...> - 2003-03-13 08:57:19
|
Hi, For compact inline floating point, for my sh7750 embedded target platform, I found it necessary to specify -m4 -m4-single to the compiler. I decided to recompile glibc with these switches. Unfortunately this seems to break the second final compilation of gcc, when it is configuring TARGET/libiberty, and the script complains that xgcc will not work. The executable created by xgcc requires the linking of __udivsi3_i4, but in the default toplevel libgcc.a there is only __udivsi3, so my default configuration of gcc has a function mixup. I am using an overall target configuration of sh-m4-linux-gnu. Despite the m4 there, the compiler default is definitely not m4. I am compiling glibc with CFLAGS set to -m4 -m4-single, and LDFLAGS set to -m4 as well, in the configparms file. Before i used these switches, the subsequent final gcc build would work. I suppose the problem must stem from having glibc compiled to a differing default to the compiler, but I need those switches so as to obtain a fast math library. I seek general guidance here. For the record I am using gcc-3.2.2 and glibc 2.3.1. I am strongly tempted to hack gcc/gcc/config/sh/t-sh so that I get only the libraries that I want. Cheers -- ______________________________________________ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze |