Mail Archives: djgpp/1994/01/30/03:29:38
I had runtime errors, too, when opening files. They disappeared after
removing three lines from the LIBI77 makefile as shown below and from that
moment I had no problems anymore.
I did not investigate what has happened before, but possibly ld strips more
than unnecessary sybols only (?).
# compile, then strip unnecessary symbols
.c.o:
$(CC) -c -DSkip_f2c_Undefs $(CFLAGS) $*.c
# ld -r -x -o $*.xxx $*.o
# copy /b $*.xxx $*.o
# del $*.xxx
Regards, Thomas.
- Raw text -