Paul / mecej4
Thanks again for the additional suggestions. We've now identified the source of the problem but not why it occurs.
Our executables are compiled using a set of common libraries plus program specific object routines. The common libraries are generated using FTN95 /MKLIB with SLINK to combine the various OBJs & LIBs into executables.
The significant differences in executable size is due to the changes in size of the common libraries, but not the object routines, when using FTN95 /MKLIB command between FTN95 v7.1 and v7.2 compilers. For example, in v7.1 one of Common Libraries is 824Kb whereas in v7.2 it has grown to 11,428Kb.
However, if we convert the same Common library to .OBJ using FTN95 and separately run SLIM to produce the .LIB, the v7.1 and v7.2 .LIB sizes are identical at 689Kb. Our Main Program includes many common libraries and the executable size in v7.1 is 6.2Mb and 108.7Mb in v7.2.
It suggests that there's something odd with how we're using FTN95 /MKLIB between v7.1 and v7.2 but we don't know what! (As an aside, the .LIB files generated using SLIM are also smaller than the FTN95 /MKLIB route).
[Post update: I should confirm that we are not using the FTN95.CFG to add extra compilation parameters. Our standard compilation options are /LIST /INTL /LOGL /EXPLIS and are correctly reported in the .LIS file.]
I welcome any further thoughts & thanks again.
Ian
For information, the table compares the file sizes for the various permutations.
**All_values_in_Kb_____FTN95_/MKLIB_______FTN95.OBJ_then_SLIM **
**Routine____________Salf v7.1___Salf v7.2____Salf v7.1___Salf v7.2
**_
MAINPROG.FOR____________170________170_________170________170
MAINPROG.OBJ___________________________________106________106
MAINPROG.EXE___________6,174____108,731________7,302______7,302
_
*COMMONLIB1.FOR_________1,102______1,102_______1,102______1,102
COMMONLIB1.OBJ_________________________________682_______682
COMMONLIB1.LIB___________824_____11,428_________689_______689
*_