Leon Timmermans wrote:
DJGPP doesn't output PE, but COFF.
after some searching in the gcc manfile, I found (and tried) out that it has a option -fno-leading-underscore, so C linking is possible. (it was the last of all command line options!!!!) I don't know whether gcc-2 supports this (I currently only have 3.2)