Objective lessons
Oct. 25th, 2005 06:27 pmI'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
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.
no subject
Date: 2005-10-25 05:35 pm (UTC)no subject
Date: 2005-10-25 07:20 pm (UTC)