This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Dear All, I have recently compiled the GNU m68k toolset under RedHat Linux. Setup: host=i486-linux target=m68k-coff prefix=/usr/local/m68k Versions: gcc-2.7.2.1 gdb-4.16 libg++-2.7.2 newlib-1.7.1 My questions are; Q1. I would like to compile C++ for the m68k and therefore downloaded libg++ as specified in the CrossGCC FAQ from Cygnus. I tried to compile the library a number of times but it always fell over at the same stage. The configure operation worked fine, [root@felix]: build-libg++]# ../libg++-2.7.2/configure --host=i486-linux --target=m68k-coff --prefix=/usr/local/m68k -v ... <blah, blah> ... Created "Makefile" in /usr/local/src/build-libg++/libiberty using "xhost-mkfrag" Configuring etc... Created "Makefile" in /usr/local/src/build-libg++/etc and then I try, [root@felix]: make all install and it falls over with, ... <blah, blah> ... m68k-coff-gcc -c -g -I. -I../../../libg++-2.7.2/libiberty/../include ../../../libg++-2.7.2/libiberty/dummy.c 2>/dev/null make[2]: *** [dummy.o] Error 127 make[2]: Leaving directory `/usr/local/src/build-libg++/m68k-coff/libiberty' cp: lconfig.h: No such file or directory make[1]: *** [xconfig.h] Error 1 make[1]: Leaving directory `/usr/local/src/build-libg++/m68k-coff/libiberty' make: *** [all-target-libiberty] Error 2 Can anybody help? Is libg++ really needed if gcc already contains the C++ compiler? Q2. As well as writing C for the m68k chips I want to handwrite assembler. Unfortunately, any assembler I write gets rejected by m68k-coff-as as being incorrect. Is there a detiled description of the syntax that the assembler tool accepts available anywhere? Thanks in advance. John Walker Development Engineer GEC-Marconi Avionics Radar Systems Division