cpa@bnlux0.bnl.gov (Chris Armstrong) (05/03/90)
I posted a article previously describing a problem I was having replacing the C 6.0 RTL version of putchar() with my own, i.e. at link time I get "multiply defined symbol" errors, in spite of me using the /NOD and /NOE link options. Well that was relatively easily worked around. However the problem is much more serious than I thought. I use MS Fortran and MS C together in the same program (for better or worse). This requries that I link Fortran progs with both the LLIBFMT.LIB and LLIBCMT.LIB files. This worked fine with the C 5.1 libraries and linker. However now I get the "multiply defined symbols" error for all the functions common to the two libraries, the error the /NOE /NOD option is supposed to suppress.... Result C6.0 is unusable! The linker is MS Seg-Exe 5.10 and the link options I use are /NOE /NOD /CO. Anyone any idea what I'm doing wrong. Everything worked fine with Fortran 5.0 and C 5.1....... Chris Armstrong.