Пытаюсь собрать i586-linux -> sparc-sun-solaris2.8 GCC - делаю все так -
./configure --host=i586-linux --target=sparc-sun-solaris2.8 --with-gnu-ld --with-gnu-as
make
--- получаю такие ошибки ---
/mnt/1/gcc/gcc-3.3/gcc/xgcc -shared-libgcc -B/mnt/1/gcc/gcc-3.3/gcc/ -nostdinc++ -L/mnt/1/gcc/gcc-3.3/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/src -L/mnt/1/gcc/gcc-3.3/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/src/.libs -B/usr/local/sparc-sun-solaris2.8/bin/ -B/usr/local/sparc-sun-solaris2.8/lib/ -isystem /usr/local/sparc-sun-solaris2.8/include -m64 -nostdinc++ -I/mnt/1/gcc/gcc-3.3/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/include/sparc-sun -solaris2.8 -I/mnt/1/gcc/gcc-3.3/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/include -I../libsupc++ -I../libmath -I/usr/local/include -g -O2 -m64 -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 /mnt/1/gcc/gcc-3.3/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/include/bits/locale _facets.tcc:41, from /mnt/1/gcc/gcc-3.3/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/include/locale:47, from /mnt/1/gcc/gcc-3.3/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/include/bits/ostrea m.tcc:37, from /mnt/1/gcc/gcc-3.3/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/include/ostream:535 , from /mnt/1/gcc/gcc-3.3/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/include/bitset:58, from bitset.cc:43:
/mnt/1/gcc/gcc-3.3/sparc-sun-solaris2.8/sparcv9/libstdc++v3/include/cmath:107: error: `acosf' not declared
/mnt/1/gcc/gcc-3.3/sparc-sun-solaris2.8/sparcv9/libstdc++v3/include/cmath:110: error: `asinf' not declared
...
/mnt/1/gcc/gcc-3.3/sparc-sun-solaris2.8/sparcv9/libstdc++v3/include/cmath:184: error: `acosf' undeclared in namespace `__gnu_cxx::__c99_binding'
...
--------------------
предварительно в /usr/local/sparc-sun-solaris2.8/lib положил lib-ы, кот. скачал с Solaris-a 2.8 , в /usr/local/sparc-sun-solaris2.8/include положил то, что в Solaris-e лежало в /usr/include
пробовал в configure указывать абсолютные пути к библиотекам и прямо указывать as и ld --- ошибка повторялась
Подскажите, в чем дело.