X-compiler problem with 3.3.3

Phil Prentice philp.cheer@btinternet.com
Sat Apr 10 19:59:00 GMT 2004


Hi

  I am using 3.3.3 configured as a sparc-sun-solaris2.6 target running on 
Linux.  I am trying to generate a C++ compiler. Unfortunately rthe build is 
failing with the following output:-

mkdir .libs
/home/diag/X-compiler/gcc/gcc-3.3.3.g++/gcc/xgcc -shared-libgcc 
-B/home/diag/X-compiler/gcc/gcc-3.3.3.g++/gcc/ -nostdinc++ 
-L/home/diag/X-compiler/gcc/gcc-3.3.3.g++/sparc-sun-solaris2.6/libstdc++-v3/src 
-L/home/diag/X-compiler/gcc/gcc-3.3.3.g++/sparc-sun-solaris2.6/libstdc++-v3/src/.libs 
-B/usr/local.3.3.3.g++/sparc-sun-solaris2.6/bin/ 
-B/usr/local.3.3.3.g++/sparc-sun-solaris2.6/lib/ -isystem 
/usr/local.3.3.3.g++/sparc-sun-solaris2.6/include -nostdinc++ 
-I/home/diag/X-compiler/gcc/gcc-3.3.3.g++/sparc-sun-solaris2.6/libstdc++-v3/include/sparc-sun-solaris2.6 
-I/home/diag/X-compiler/gcc/gcc-3.3.3.g++/sparc-sun-solaris2.6/libstdc++-v3/include 
-I../libsupc++ -I../libmath -g -O2 -fno-implicit-templates -Wall -Wno-format 
-W -Wwrite-strings -fdiagnostics-show-location=once -c bitset.cc  -fPIC -DPIC 
-o .libs/bitset.o
In file included from 
/home/diag/X-compiler/gcc/gcc-3.3.3.g++/sparc-sun-solaris2.6/libstdc++-v3/include/bits/locale_facets.tcc:41,
                 from 
/home/diag/X-compiler/gcc/gcc-3.3.3.g++/sparc-sun-solaris2.6/libstdc++-v3/include/locale:47,
                 from 
/home/diag/X-compiler/gcc/gcc-3.3.3.g++/sparc-sun-solaris2.6/libstdc++-v3/include/bits/ostream.tcc:37,
                 from 
/home/diag/X-compiler/gcc/gcc-3.3.3.g++/sparc-sun-solaris2.6/libstdc++-v3/include/ostream:535,
                 from 
/home/diag/X-compiler/gcc/gcc-3.3.3.g++/sparc-sun-solaris2.6/libstdc++-v3/include/bitset:58,
                 from bitset.cc:43:
/home/diag/X-compiler/gcc/gcc-3.3.3.g++/sparc-sun-solaris2.6/libstdc++-v3/include/cmath:107: 
error: `
   acosf' not declared
/home/diag/X-compiler/gcc/gcc-3.3.3.g++/sparc-sun-solaris2.6/libstdc++-v3/include/cmath:110: 
error: `
   asinf' not declared
/home/diag/X-compiler/gcc/gcc-3.3.3.g++/sparc-sun-solaris2.6/libstdc++-v3/include/cmath:113: 
error: `
   atanf' not declared
/home/diag/X-compiler/gcc/gcc-3.3.3.g++/sparc-sun-solaris2.6/libstdc++-v3/include/cmath:116: 
error: `

etc

  I am configuring the X-compiler with the following :-

  ./configure --enable-languages=c++ --prefix=/usr/local.3.3.3.g++     		
--target=sparc-sun-solaris2.6  
--with-headers=/home/diag/X-compiler/gcc/SOL2.6_sparc5/include/usr/include 
--with-libs=/home/diag/X-compiler/gcc/SOL2.6_sparc5/libs/usr/lib

  I copied the relavant libs & includes from the target machine.

  Has anyone got any ideas or suggestions as to what I'm doing wrong?

  Thanks for you help

    Phil



More information about the Gcc-help mailing list