Fw: Can't build gcc 3.3.4 Linux to Sun Cross compiler

James E Wilson wilson@specifixinc.com
Sun Aug 1 23:29:00 GMT 2004


Mark Cuss wrote:
>>It looks like a bunch of math functions are missing - I figured that these
>>should have been defined in the $sysroot I copied over, but that's just a
>>guess...

 >/cdl/apps/.software/linux/gcc-3.3.4-cross/build-gcc/sparc-sun-solaris2.9/spa
 >>rcv9/libstdc++-v3/include/cmath:107: error: `
 >>   acosf' not declared

Yes.  They should have been defined in the sysroot math.h file.  So look 
at that file, and check to see if they are there or not.  Maybe a 
special macro needs to be defined that wasn't.  Or maybe they simply 
aren't there.  These are ISO C99 math functions that were not present in 
ISO C89, so some targets don't have them.  Running the failing command 
by hand, and adding -v --save-temps may be helpful to see what is going on.
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



More information about the Gcc mailing list