[Top][All Lists]

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

Re: [avr-libc-dev] [RFC] faq update

From: Joerg Wunsch
Subject: Re: [avr-libc-dev] [RFC] faq update
Date: Wed, 11 Sep 2002 22:23:56 +0200
User-agent: Mutt/1.2.5i

As Theodore A. Roth wrote:

> How's this look?


> The only questionable change is this:
>  this same register can be re-used later on if the compiler notices
>  that the first variable is no longer used inside that function, even
> -though the function is still in lexical scope.  When trying to examine
> +though the variable is still in lexical scope.  When trying to examine

Of course, you're right.  That's just a brain-o.

> +Example:
> +
> +\verbatim
> +  $ avr-as -mmcu=atmega128 --gstabs -o foo.o foo.S
> +\endverbatim
> +

Hmm, that should IMHO be "foo.s" (small .s).  Files ending in .S are
meant to be passed through cpp first, while files ending in .s are
going directly to the assembler.  Of course, this only applies to
(file) systems that differentiate between both cases, and only if
you use avr-gcc to make the distinction.  (That's why the -x
assembler-with-cpp made it into many CFLAGS, thought it's only
needed on non-Unix systems.)

> +\note You can also use <tt>-Wa,-gstabs</tt> since the compiler will add the
> +extra \c '-' for you.

Ah, i didn't know this.

Fine.  Again, thanks for the work of doing a review, much appreciated!
J"org Wunsch                                           Unix support engineer
address@hidden        http://www.interface-systems.de/~j/

reply via email to

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