[Top][All Lists]

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

Re: [avr-gcc-list] Suggestion

From: Ned Konz
Subject: Re: [avr-gcc-list] Suggestion
Date: Tue, 2 May 2006 14:34:50 -0700

On May 1, 2006, at 12:56 PM, Royce Pereira wrote:

On Tue, 02 May 2006 01:07:29 +0530, Joerg Wunsch <address@hidden> wrote:

"Royce Pereira" <address@hidden> wrote:

Can I get the same in my AVR-GCC .lst, .lss etc output files thru my
makefile ?

Even though Ned already showed you a way, I'm curious: what additional
information would gain that that is not already present in the file
timestamp(s)?  OK, the timestamps are referring to the end of

Sometimes I never know if the generated file was from the compiling I just did or from a previous compiling. By looking at the time- stamp, I know if it's been generated 1 minute ago, it's fresh.

But if it still has last weeks time stamp after compiling, then uh-oh!

It's just something I got used to with SDCC, coz sometimes some error messages were not being redirected to my editor window, so that was the only way to check if the compiling was successful.

Of course, one can check the file creation date via explorer, but this is convenient, and also the time stamp wont change inadvertently.

I think that probably the best bet is to have a properly written Makefile; Make is very good at looking at timestamps and comparing them. Why would you have to?

Ned Konz
MetaMagix embedded consulting

reply via email to

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