Hi Philippe,

Philippe De Muyter wrote:
starting with a new embedded linux project, I just installed the latest
versions of m68k-elf-tools (20061214) and uclinux-dist (20090810).

I succesfully compiled m68k-elf-tools, but compiling the linux-2.6.x kernel
from uclinux-dist fails with :

include/linux/compiler-gcc4.h:8:4: error: #error Your version of gcc 
miscompiles the __weak directive

Does someone have a newer build-uclinux-tools.sh that (s)he can share,
or at least recommend some newer versions of gcc and binutils ?

This is the one I have been using for a while now:

http://www.uclinux.org/pub/uClinux/m68k-elf-tools/m68k-uclinux-tools-20080626.sh

Source here:

http://www.uclinux.org/pub/uClinux/m68k-elf-tools/tools-20080626/


The other option is to use the code sourcery toolchains.

Regards
Greg



------------------------------------------------------------------------
Greg Ungerer  --  Principal Engineer        EMAIL:     g...@snapgear.com
SnapGear Group, McAfee                      PHONE:       +61 7 3435 2888
825 Stanley St,                             FAX:         +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to