I am trying to bring a FORTRAN project with ca. 350 source files into C::B (the Fortran version for Linux). All files compile correcty with GNU Fortran, but the link step generates a lot of "missing symbol" messages. However, if I give the link command directly from the shell, with a different sequence of object files, the link step finished correctly. It seems that a certain group of 5 object files must be at the beginning of the list. (It sounds strange, a good linker should not behave like that, but this is it: the result depends on whether the 5 object files are at the beginning or not.)
I noticed that the sequence in which the object files are listed in the linker command seems to be random. At least it is not in alphabetical order (in which case I could rename the files to bring the 5 in front). Is there any way to control this sequence?
thanks for any help,
best regards,
Bernhard