[Top][All Lists]

[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 "-

From: Francesco Sacchi
Subject: Re: [avr-gcc-list] avr-gcc won't compile (xgcc has bad cmdline option "-march=i586")
Date: Wed, 12 Sep 2007 09:57:52 +0200
User-agent: Thunderbird (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:
echo $CFLAGS

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:
export CFLAGS=""
This will reset the variable and use makefile supplied only CFLAGS options.

 _|/ Francesco Sacchi - Develer S.r.l., R&D dept.
  |\ http://www.develer.com/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]