On 2010-7-8, at 19:18 , Per Eckerdal wrote:
I don't copy test.o1 to test.o2, but compile the whole module twice, including invoking the Gambit compiler twice. The input to the gambit compiler is identical, the only difference is that I tell it to compile to two different filenames. I double-checked by diffing the .c files and they showed that they are identical except for the link file, which is different on a couple of places where test.oN is mentioned.
I remember having a similar problem years ago. iirc, there's something written in the c file that forces the name of the o file and it does not obey the compile command. I don't remember if it's direct compile or the 2 step process through a c file though.