[uClibc]0.9.16 compile for m68k fails : unrecognized option --bitwise-or
Brad Clements
bkc at murkworks.com
Sat Jan 11 20:41:52 UTC 2003
Greetings,
I'm using a recent CVS checkout of uC-Linux with the 2.4.x kernel., and
gcc version 2.95.3 20010315 (release)(ColdFire patches - 20010318 from
http://fiddes.net/coldfire/)(-msep-data patches)
Basically, ARCH_CFLAGS has too many quotes in it, and I'm not sure how to fix it.
"make" fails:
m68k-elf-gcc "-Wall" -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -Os -fno-builtin -nostdinc -D_LIBC "-Wa,--bitwise-or -I"/var/local/src/uClinux-cvs/uClinux-dist/uClinux-2.4.x"/include" -I../../../include -I. -I/usr/local/lib/gcc-lib/m68k-elf/2.95.3/include -DNDEBUG -fPIC -msoft-flo
/usr/local/m68k-elf/bin/as: unrecognized option `--bitwise-or -I/var/local/src/uClinux-cvs/uClinux-dist/uClinux-2.4.x/include'
Config.m68k has this:
config ARCH_CFLAGS
string
default "-Wa,--bitwise-or -I$(KERNEL_SOURCE)/include"
and .config has:
ARCH_CFLAGS="-Wa,--bitwise-or -I$(KERNEL_SOURCE)/include"
ARCH_HAS_NO_MMU=y
UCLIBC_HAS_FLOATS=y
# HAS_FPU is not set
UCLIBC_HAS_SOFT_FLOAT=y
# DO_C99_MATH is not set
WARNINGS="-Wall"
KERNEL_SOURCE="/var/local/src/uClinux-cvs/uClinux-dist/uClinux-2.4.x"
If I remove the quotes around ARCH_CFLAGS in .config, compilation works, though
"make" rebuilds this file every time.
Also note there's too many quotes around the path to kernel/include, but if I remove the
quotes in .config KERNEL_SOURCE, I'm re-prompted for the path to the linux kernel
when I next "make".
I'm not a make wizard, can someone tell me how to fix this?
Thanks
--
Brad Clements, bkc at murkworks.com (315)268-1000
http://www.murkworks.com (315)268-9812 Fax
http://www.wecanstopspam.org/ AOL-IM: BKClements
More information about the uClibc
mailing list