This is the mail archive of the gcc@gcc.gnu.org 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]

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


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



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