This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Would you like to give me advice about how to compile gcc? __addd3f link error.

On Sat 27 Oct 2007, "L.Yan" <>:
> Dear all,
> I want to build the source of gcc and make '-msoft-float' available. But
> I don't know how to build the source code. I just do it as the following
> steps:
> 1. download the source code, gcc-4.1.2.tar.gz, from the mirror site;
> 2. tar -xzf gcc-4.1.2.tar.gz;
> 3. ./configure --prefix=/home/user/gcc4.1.2/install
> --with-local-prefix=/home/user/gcc4.1.2/install --enable-threads=single
> --enable-languages=c,c++,objc --enable-bootstrap
> 4.  make CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2
> -fno-implicit-templates -msoft-float' bootstrap
> 5. make install
> Finally, I use the above gcc to compile a test program
>  /home/user/gcc4.1.2/install/bin/gcc -msoft-float test.c -o test
> but there are errors :
> /tmp/ccWjy9Ug.o: In function `main':
> test.c:(.text+0x2f): undefined reference to `__floatsidf'
> test.c:(.text+0x55): undefined reference to `__adddf3'
> test.c:(.text+0x61): undefined reference to `__fixdfsi'
> collect2: ld returned 1 exit status
> Would you like to tell me how to configure and compile GCC, and then I
> could use the '-msoft-float' flag.
> Any suggestions from you are appreciated.
> Thanks.
> Best wishes,
> Peter

Apparently, __addd3f seems to be the last crashed softfloat's backdoor,
xDDDD, the same history repeats + or - in the past.
I don't know if it had a reputation or not.

Dear L. Yan, you need to practice some tricks from below urls:

__adddf3 undefined (search the word __adddf3):

__floatsidf undefined (search the word __floatsidf):

__fixdfsi undefined (search the word __fixdfsi):

   J.C. Pizarro

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]