From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25918 invoked by alias); 2 Jan 2010 02:51:49 -0000 Received: (qmail 25882 invoked by uid 48); 2 Jan 2010 02:51:33 -0000 Date: Sat, 02 Jan 2010 02:51:00 -0000 Message-ID: <20100102025133.25881.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c/42557] gcc no compile for m68k(coff/elf) In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "miltoncsl at yahoo dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-01/txt/msg00089.txt.bz2 ------- Comment #3 from miltoncsl at yahoo dot com 2010-01-02 02:51 ------- I quoted the compilation of the binutils because it is part of the process for the construction of gcc. From your indication of version 2.16.1, I knew that this was the last that supported the coff format. I used the instructions of the LSB 6.5 (http://www.linuxfromscratch.org/lfs/view/6.5/chapter05/gcc-pass1.html) and its recommendations. However, the goal is to compile gcc for the coff format and I'm having it difficulties. I use the command: ../gcc-4.4.2/configure --target=m68k-coff \ --prefix=/usr \ --disable-nls \ --disable-shared \ --disable-multilib \ --disable-decimal-float \ --disable-threads \ --disable-libmudflap \ --disable-libssp \ --disable-libgomp \ --enable-languages=c \ --enable-obsolete and I get as error: ... /home/miltoncsl/Documents/coldfire/gcc/gcc-build/./gcc/xgcc -B/home/miltoncsl/Documents/coldfire/gcc/gcc-build/./gcc/ -B/usr/m68k-coff/bin/ -B/usr/m68k-coff/lib/ -isystem /usr/m68k-coff/include -isystem /usr/m68k-coff/sys-include -g -O2 -O2 -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -isystem ./include -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../.././gcc -I../../../gcc-4.4.2/libgcc -I../../../gcc-4.4.2/libgcc/. -I../../../gcc-4.4.2/libgcc/../gcc -I../../../gcc-4.4.2/libgcc/../include -DHAVE_CC_TLS -o _double.o -MT _double.o -MD -MP -MF _double.dep -DL_double -xassembler-with-cpp \ -c ../../../gcc-4.4.2/libgcc/../gcc/config/m68k/lb1sf68.asm ../../../gcc-4.4.2/libgcc/../gcc/config/m68k/lb1sf68.asm: Assembler messages: ../../../gcc-4.4.2/libgcc/../gcc/config/m68k/lb1sf68.asm:669: Error: unknown pseudo-op: `.hidden' make[2]: *** [_double.o] Error 1 make[2]: Leaving directory `/home/miltoncsl/Documents/coldfire/gcc/gcc-build/m68k-coff/libgcc' make[1]: *** [all-target-libgcc] Error 2 make[1]: Leaving directory `/home/miltoncsl/Documents/coldfire/gcc/gcc-build' make: *** [all] Error 2 $ I'm sure that problem has easy solution, but I'm starting now. What books can help in this process? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42557