[uClibc]COFF vs. ELF on m68k

James Graves jgraves at deltamobile.com
Tue Feb 27 20:54:17 UTC 2001


Hello all,

I have just cvs up'ed, and was reading the some stuff.  In Rules.make
we currently have:

ifeq ($(strip $(TARGET_ARCH)),m68k)
    CFLAGS += -D__VFORK_MACRO__ -Dconst= -D__const= -D__extension__=
endif

However, doesn't the ELF toolchain for m68k (based on GCC 2.95) work
correctly for this stuff?

Should this section now be:

ifeq ($(strip $(TARGET_ARCH)),m68k)
    CFLAGS += -D__VFORK_MACRO__
endif

ifeq ($(strip $(CROSS)),m68k-pic-coff-)
    CFLAGS += -Dconst= -D__const= -D__extension__=
endif

I'm still using the COFF toolchain for now, but I'll be experimenting
with the ELF stuff soon.  I've just got so many other things to worry
about...

James Graves
Delta Mobile Software






More information about the uClibc mailing list