NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Crosscompiling GCC - but i don't found g++



Hello
Wonder why "i386-elf-g++" are not available ??
source are from ftp gnu "gcc 4.7.0" i thinking i run on the right way.
please for any hint i'am happy.
regards
Mauri

*installed Files /usr/i386elfgcc/*
May  8 17:16    i386-elf-addr2line                 
May  8 17:16    i386-elf-ar
May  8 17:16    i386-elf-as                                             
May  8 17:16    i386-elf-c++filt
May  8 15:36    i386-elf-cpp
May  8 17:16    i386-elf-elfedit
May  8 15:36    i386-elf-gcc
May  8 15:36    i386-elf-gcc-4.7.0
May  8 15:36    i386-elf-gcc-ar
May  8 15:36    i386-elf-gcc-nm
May  8 15:36    i386-elf-gcc-ranlib
May  8 15:36    i386-elf-gcov
May  8 17:16    i386-elf-gprof
May  8 17:16    i386-elf-ld
May  8 17:16    i386-elf-ld.bfd
May  8 17:16    i386-elf-nm
May  8 17:16    i386-elf-objcopy
May  8 17:16    i386-elf-objdump
May  8 17:16    i386-elf-ranlib
May  8 17:16    i386-elf-readelf
May  8 17:16    i386-elf-size
May  8 17:16    i386-elf-strings
May  8 17:16    i386-elf-strip

*bash-4.2# ./i386-elf-gcc -v  * 
Using built-in specs.
COLLECT_GCC=./i386-elf-gcc
COLLECT_LTO_WRAPPER=/usr/i386elfgcc/libexec/gcc/i386-elf/4.7.0/lto-wrapper
Target: i386-elf
Configured with: ../configure --target=i386-elf --with-gnu-ld
--with-gnu-as --disable-libssp --enable-languages=c
--with-gmp --with-gmp=/usr/pkg/ --with-mpfr --with-mpf
--with-mpfr=/usr/pkg/ --with-mpc=/usr/pkg --prefix=/usr/i386elfgcc
Thread model: single
gcc version 4.7.0 (GCC)

*String gcc:*
CFLAGS="-I/usr/pkg/include -I/usr/include -L/usr/pkg/lib -L/usr/lib"
../configure --target=i386-elf --with-gnu-ld --with-gnu-as
--disable-libssp --enable-languages=c,c++ --with-gmp
--with-gmp=/usr/pkg --with-mpfr --with-mpf --with-mpfr=/usr/pkg
--with-mpc=/usr/pkg --prefix=/usr/i386elfgcc

*# configure.log*
checking build system type... powerpc-unknown-netbsd5.1
checking host system type... powerpc-unknown-netbsd5.1
checking target system type... i386-pc-elf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for gawk... gawk
checking for libitm support... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gnatbind... no
checking for gnatmake... no
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp $$f1 $$f2 16 16
checking for objdir... .libs
checking for the correct version of gmp.h... yes
checking for the correct version of mpfr.h... yes
checking for the correct version of mpc.h... yes
checking for the correct version of the gmp/mpfr/mpc libraries... yes
checking for PWL_handle_timeout in -lpwl... no
checking for version 0.11 (revision 0 or later) of PPL... no
*** This configuration is not supported in the following subdirectories:
     target-libmudflap target-libgomp target-libitm gnattools target-libada
     target-libstdc++-v3 target-libgfortran target-libgo target-libffi
target-zlib
     target-libjava target-libobjc target-libssp target-boehm-gc
    (Any other directories should still work fine.)
checking for bison... bison -y
checking for bison... bison
checking for gm4... gm4
checking for flex... flex
checking for flex... flex
checking for makeinfo... makeinfo
checking for expect... no
checking for runtest... no
checking for ar... ar
checking for as... as
checking for dlltool... no
checking for ld... ld
checking for lipo... no
checking for nm... nm
checking for ranlib... ranlib
checking for strip... strip
checking for windres... no
checking for windmc... no
checking for objcopy... objcopy
checking for objdump... objdump
checking for readelf... readelf
checking for i386-elf-cc... no
checking for i386-elf-gcc... no
checking for i386-elf-c++... no
checking for i386-elf-g++... no
checking for i386-elf-cxx... no
checking for i386-elf-gxx... no
checking for i386-elf-gcc... no
checking for i386-elf-gcj... no
checking for i386-elf-gfortran... no
checking for i386-elf-gccgo... no
checking for ar... no
checking for i386-elf-ar... no
checking for as... no
checking for i386-elf-as... no
checking for dlltool... no
checking for i386-elf-dlltool... no
checking for ld... no
checking for i386-elf-ld... no
checking for lipo... no
checking for i386-elf-lipo... no
checking for nm... no
checking for i386-elf-nm... no
checking for objdump... no
checking for i386-elf-objdump... no
checking for ranlib... no
checking for i386-elf-ranlib... no
checking for readelf... no
checking for i386-elf-readelf... no
checking for strip... no
checking for i386-elf-strip... no
checking for windres... no
checking for i386-elf-windres... no
checking for windmc... no
checking for i386-elf-windmc... no
checking where to find the target ar... pre-installed
checking where to find the target as... pre-installed
checking where to find the target cc... just compiled
checking where to find the target c++... pre-installed
checking where to find the target c++ for libstdc++... pre-installed
checking where to find the target dlltool... pre-installed
checking where to find the target gcc... just compiled
checking where to find the target gcj... pre-installed
checking where to find the target gfortran... pre-installed
checking where to find the target gccgo... pre-installed
checking where to find the target ld... pre-installed
checking where to find the target lipo... pre-installed
checking where to find the target nm... pre-installed
checking where to find the target objdump... pre-installed
checking where to find the target ranlib... pre-installed
checking where to find the target readelf... pre-installed
checking where to find the target strip... pre-installed
checking where to find the target windres... pre-installed
checking where to find the target windmc... pre-installed
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether -fkeep-inline-functions is supported... yes
configure: creating ./config.status
config.status: creating Makefile

*System run with:
bash-4.2# which g++*
*/usr/bin/g++*
bash-4.2# g++ -v
Using built-in specs.
Target: powerpc--netbsd
Configured with: /usr/src/tools/gcc/../../gnu/dist/gcc4/configure
--enable-long-long --disable-multilib --enable-threads --disable-symvers
--build=x86_64-unknown-netbsd4.99.72 --host=powerpc--netbsd
--target=powerpc--netbsd --enable-__cxa_atexit
Thread model: posix
gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)
bash-4.2#
 
*bash-4.2# which gcc
/usr/bin/gcc*
bash-4.2# gcc -v
Using built-in specs.
Target: powerpc--netbsd
Configured with: /usr/src/tools/gcc/../../gnu/dist/gcc4/configure
--enable-long-long --disable-multilib --enable-threads --disable-symvers
--build=x86_64-unknown-netbsd4.99.72 --host=powerpc--netbsd
--target=powerpc--netbsd --enable-__cxa_atexit
Thread model: posix
gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)
bash-4.2#


Home | Main Index | Thread Index | Old Index