sawyl: (Default)
[personal profile] sawyl
I've finally solved the mystery of the varying sized object files. The problem seems to be that when the compiler preprocesses fortran source code, it stores the full path to the temporary preprocessed file in the resulting object file so if the temporary path length varies from one compilation to another, the object file size also varies.

Today, while working on something slightly related, it belatedly occurred to me that the details of the path were probably stashed in the easily removable comments section of the object file. Sure enough, when I ran mcs -d on the two object files, they came out identically sized.

Date: 2005-10-25 05:35 pm (UTC)
From: [identity profile] doctor-squale.livejournal.com
You should have asked. :)

Date: 2005-10-25 07:20 pm (UTC)
From: [identity profile] sawyl.livejournal.com
It was [livejournal.com profile] the_tiddler's problem and after he left I just let it drift waiting for other people to complain about but no one did, so nothing happened...

Profile

sawyl: (Default)
sawyl

August 2018

S M T W T F S
   123 4
5 6 7 8910 11
12131415161718
192021222324 25
262728293031 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Feb. 5th, 2026 11:05 am
Powered by Dreamwidth Studios