This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: GCC file timestamp
- From: Jed Dai <mingdai at e28 dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 19 Jun 2007 22:10:13 -0700 (PDT)
- Subject: Re: GCC file timestamp
- References: <10607696.post@talk.nabble.com> <m3ps53xnwu.fsf@localhost.localdomain>
I occured same issue and could not search the solution on internet. My os is
embeded linux based on 2.4.20.
Ian Lance Taylor-3 wrote:
>
> Hacker <Roger.Williams@Trans.ge.com> 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
>
>
--
View this message in context: http://www.nabble.com/GCC-file-timestamp-tf3753589.html#a11207227
Sent from the gcc - Help mailing list archive at Nabble.com.