[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] RE: confirm 70e8cedc7c9b034344df26628372e8690f48d513

From: Rory Galvin
Subject: [avr-gcc-list] RE: confirm 70e8cedc7c9b034344df26628372e8690f48d513
Date: Thu, 13 Sep 2007 00:40:50 +0100

hi Folks,

Sorry for not getting back sooner.  (Memory Slot A on my laptop died, then
yahoo cancelled my webmail account for reasons as yet unclear. grrr)

Well, Francesco was right on the money.  In Vector 5.8 (slackware 11) the
default profile sets both CFLAGS and CXXFLAGS with the offending compiler
options: "-O2 -march=i586 -mtune=i686".  After clearing these, a re-run of
Francesco's avr-install script from the avr-toolchain kit worked an absolute

I'm surprised that the vectorlinux forums haven't picked this up already
since vector 5.8 has been out since Jan 07.  Either this default profile is
a new thing, or the distro just aint used by avr-gcc users.

I really appreciate the help, lads.  Though this was a trivial problem in
the end, I can't tell you how relieved I (and my deadline) were to nail this



-----Original Message-----
From: address@hidden
Sent: 13 September 2007 00:21
To: address@hidden
Subject: confirm 70e8cedc7c9b034344df26628372e8690f48d513

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.

reply via email to

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