For my project, I made a "commit.bash" shell script that I run when I
want to commit code to CVS when it is working. It automatically
recompiles the whole code base (to guarantee there are no compile
errors), runs a suite of automated test cases, and then increments a
"commit number" in one
On 14 Sep 2005, you wrote in ml.avr-gcc:
> Dear All,
>
> I would like to display a "code version" (date/time or incremental
> number) during init on an LCD display.
> Does anybody know if there is any information in the executable (ROM
> file) that I can use at runtime (updated by the linker for
Anton Erasmus wrote:
Would love to use these Macros, but whenever I try to use __DATA__
for example, the compiler complains that :
error: `__DATA__' undeclared (first use in this function)
Are these macros been introduced so recently in gcc that my sliiighlty
old 3.4.3 version doesn't su
On 16 Sep 2005 at 18:06, Vincent Trouilliez wrote:
> > Look at the __DATE__ and __TIME__ predefined macros. Since they are
> > already string constants, you can use the compiler to concatenate
> > them with the string you want to display, such as:
> >
> > char *version =
> > "Compiled on " __
Vincent Trouilliez wrote:
Look at the __DATE__ and __TIME__ predefined macros. Since they are
already string constants, you can use the compiler to concatenate them
with the string you want to display, such as:
char *version =
"Compiled on " __DATE__ " at " __TIME__;
Would love to use these
> Look at the __DATE__ and __TIME__ predefined macros. Since they are
> already string constants, you can use the compiler to concatenate them
> with the string you want to display, such as:
>
> char *version =
> "Compiled on " __DATE__ " at " __TIME__;
Would love to use these Macros, but whene
From: "Anton Erasmus" <[EMAIL PROTECTED]>
On 14 Sep 2005 at 6:21, John Altstadt wrote:
[...]
> %.elf: $(OBJ)
> @echo
> @echo $(MSG_LINKING) $@
> $(CC) $(ALL_CFLAGS) $^ --output $@ $(LDFLAGS)
> rm version.o
There is a better way to force the recompile of ver
On 14 Sep 2005 at 6:21, John Altstadt wrote:
> [EMAIL PROTECTED] wrote:
> > Dear All,
> >
> > I would like to display a "code version" (date/time or incremental
> > number) during init on an LCD display. Does anybody know if there is
> > any information in the executable (ROM file) that I can use
[EMAIL PROTECTED] wrote:
Dear All,
I would like to display a "code version" (date/time or incremental number)
during init on an LCD display.
Does anybody know if there is any information in the executable (ROM file) that
I can use at runtime (updated by the linker for example) ?
If no, does any
From: [EMAIL PROTECTED] (Joerg Wunsch)
[EMAIL PROTECTED] wrote:
> I would like to display a "code version" (date/time or incremental
> number) during init on an LCD display.
If you're using CVS, you can get the date of the last checkin of
a particular module by
const char foo[] = "$Date$";
I am in tunning phase so I am looking for something more "dynamic" than CVS,
i.e. the compilation/link time ...
Quoting Joerg Wunsch <[EMAIL PROTECTED]>:
> [EMAIL PROTECTED] wrote:
>
> > I would like to display a "code version" (date/time or incremental
> > number) during init on an LCD display.
[EMAIL PROTECTED] wrote:
> I am in tunning phase so I am looking for something more "dynamic"
> than CVS, i.e. the compilation/link time ...
Well, it's up to you to run a cvs commit -f whenever you need. ;-)
Anyone, someone pointed out to me offline that of course, the
compiler supports the ANSI
[EMAIL PROTECTED] wrote:
> I would like to display a "code version" (date/time or incremental
> number) during init on an LCD display.
If you're using CVS, you can get the date of the last checkin of
a particular module by
const char foo[] = "$Date$";
CVS will replace that by something like
co
Dear All,
I would like to display a "code version" (date/time or incremental number)
during init on an LCD display.
Does anybody know if there is any information in the executable (ROM file) that
I can use at runtime (updated by the linker for example) ?
If no, does anybody know how to implement
14 matches
Mail list logo