This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/42557] gcc no compile for m68k(coff/elf)
- From: "miltoncsl at yahoo dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jan 2010 02:51:33 -0000
- Subject: [Bug c/42557] gcc no compile for m68k(coff/elf)
- References: <bug-42557-18618@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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