[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] avr-gcc won't compile (xgcc has bad cmdline option "-
Re: [avr-gcc-list] avr-gcc won't compile (xgcc has bad cmdline option "-march=i586")
Wed, 12 Sep 2007 09:57:52 +0200
Thunderbird 18.104.22.168 (X11/20070615)
Rory Galvin ha scritto:
... something about CFLAGS and an empty catalog, and a
possible solution using buildroot ?!
It seems that you are compiling for avr target using x86 specific
options. This most probably it is due to a system wide CFLAGS definition.
Before starting to compile, try to type:
and if it prints out some text, your CFLAGS are set to that default
somewhere in your shell profile files.
To avoid this you can simply type:
This will reset the variable and use makefile supplied only CFLAGS options.
_|/ Francesco Sacchi - Develer S.r.l., R&D dept.