Re: GCC file timestamp

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

 



Hacker <Roger.Williams@xxxxxxxxxxxx> writes:

> GCC inserts a timestamp in the executables it creates.  Is there a way to
> turn off this feature?  We want our executables to have the same exact cksum
> from make to make.

gcc does not insert a timestamp.  Unless you explicitly use the
preprocessor macro __TIMESTAMP__ in some way that affects the source
code.

I would guess that your assembler is inserting the timestamp when it
creates the object file.  It's hard to say for sure since you didn't
mention which operating system you are using.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux