[Top][All Lists]

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

RE: [avr-gcc-list] -O vs. -O2

From: Eric Weddington
Subject: RE: [avr-gcc-list] -O vs. -O2
Date: Fri, 27 Jul 2007 08:12:52 -0600

> -----Original Message-----
> From:
> address@hidden
> [mailto:address@hidden
> org] On Behalf Of Nathan Cooprider
> Sent: Thursday, July 26, 2007 8:22 PM
> To: Russell Shaw
> Cc: address@hidden
> Subject: Re: [avr-gcc-list] -O vs. -O2
> Russell Shaw wrote:
> > What are you trying to do? Any autoconf package can be set
> for -02 with:
> > ./configure CFLAGS="-g -O2"
> I am using avr-gcc as part of the TinyOS package, along with
> a bunch of
> other non-TinyOS tools. The non-TinyOS tools do something to
> the TinyOS
> applications so that they compile fine with avr-gcc -O, but
> then break
> with -Os or -O2. My understanding is that -O2 is just -O with
> some extra
> command options. I looked through the manual and found what options
> those were, but adding them to -O did not trigger the error.
> So I was at
> a loss.
> Unfortunately, I believe I am stuck using an older version of
> gcc. Which
> sort of makes my problem irrelevant for this list. Also, I
> probably just
> have to look at the actual command line options in the source
> and find
> out which ones -O turns on and which ones -O2 turns on.
> Anyway, thanks
> for the concern.

Why do you think that you are stuck? Is it because nescc hasn't been
upgraded to use a later toolchain (gcc 4.1.x)?


reply via email to

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