This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


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

g++ for m68k target error...


Hi everybody, 

Here's what I've done so far:
build binutils 2.9.1 --target=m68k-elf
build gcc 2.95-2 --target=m68k-elf  --enable-languages=c
build newlib 1.8.2 --target=m68k-elf

Now i'm in the process of building g++
--target=m68k-elf --enable-languages=c++

for the layout I've built gcc and g++ in different directories, I've tried
it to in the same directory with the same results:

speaking of results here are mine :)

cd ../libiberty ; make "SHELL=/bin/sh" "INSTALL=/bin/sh
/usr/local/src/gcc-2.95.2/install-sh -c" "INSTALL_DATA=/bin/sh
/usr/local/src/gcc-2.95.2/install-sh -c -m 644" "INSTALL_PROGRAM=/bin/sh
/usr/local/src/gcc-2.95.2/install-sh -c " "prefix=/usr/local"
"exec_prefix=/usr/local" "tooldir=/usr/local/m68k-elf"
"gxx_include_dir=/usr/local/include/g++-3"
"libsubdir=/usr/local/lib/gcc-lib/m68k-elf/2.95.2" "gcc_version=2.95.2"
"gcc_version_trigger=/usr/local/src/gcc-2.95.2/gcc/version.c"
"AR=m68k-elf-ar" "AR_FLAGS=rc" "CC=/usr/local/src/m68kg++/gcc/xgcc
-B/usr/local/src/m68kg++/gcc/ -B/usr/local/m68k-elf/bin/"
"CXX=/usr/local/src/m68kg++/gcc/xgcc -B/usr/local/src/m68kg++/gcc/
-B/usr/local/m68k-elf/bin/" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2"
"NM=m68k-elf-nm" "RANLIB=m68k-elf-ranlib" "LIBCFLAGS=-g -O2" "LIBCXXFLAGS=-g
-O2 -fno-implicit-templates" "LOADLIBES=" "LDFLAGS="
"MAKEINFO=/usr/local/src/m68kg++/texinfo/makeinfo/makeinfo "
"SHLIB=libstdc++.so.2.10.0" "SHCURSES=" "RUNTESTFLAGS="
make[2]: Entering directory `/usr/local/src/m68kg++/m68k-elf/libiberty'
make[2]: *** No targets.  Stop.
make[2]: Leaving directory `/usr/local/src/m68kg++/m68k-elf/libiberty'
make[1]: *** [../libiberty/libiberty.a] Error 2
make[1]: Leaving directory `/usr/local/src/m68kg++/m68k-elf/libstdc++'
make: *** [all-target-libstdc++] Error 2

do you have any hints, BTW all of this is built on pentium MMX machine with
64mb of ram and running mandrake 7.0

the c compiler is working without problem, and my guess is that so far the
c++ compiler is working too but the libstdc++ is not present??

What is this libiberty stuff

Thanks

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


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