[uClibc]m68k toolchain
David McCullough
davidm at snapgear.com
Tue Sep 17 03:42:24 UTC 2002
Jivin kint at qala.com.sg lays it down ...
> ok, i've downloaded gcc-2.95-uclibc-20020916 and tried ARCH:=m68k
> firstly, the build fails at uClibc stage, with 'as' complaining about unknown
> argument --bitwise-or. Not knowing what the heck this flag does, I removed
> the -Wa,--bitwise-or in Config.
That's the right thing to do.
> Then comes the following error, and I'm at my wit's ends.
>
> make -C common
> make[5]: Entering directory `/home/kint/rt/src/uclibc/gcc-2.95/build/uClibc-0.9.15/libc/sysdeps/linux/common'
> gcc -Wall -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-builtin -nostdinc -I../../../../include -iwithprefix include -I. -D_LIBC -I/home/kint/rt/src/uclibc/gcc-2.95/build/linux/include -DNDEBUG -c getcwd.c -o getcwd.o
Looks like it is using gcc instead of m68k-XXX-gcc, check the value for
CROSS or CROSS_COMPILE in the Config file. If you want uClinux tools you
might have more luck with:
http://www.uclinux.org/pub/uClinux/m68k-elf-tools/
Otherwise keep going the way you are and you will get there :-)
Cheers,
Davidm
--
David McCullough: Ph: +61 7 3435 2815 http://www.SnapGear.com
davidm at snapgear.com Fx: +61 7 3891 3630 Custom Embedded Solutions + Security
More information about the uClibc
mailing list