Quote:
may be use djgpp's linker and gcc cygwin's compiler? Do they recognize their formats
GCC only produces assembler output, which is then taken by AS, assembled, and linked with other files by LD. AS and LD belong to binutils, so this is not an issue of GCC being incompatible with anything. The problem is, that DJGPP only comes with LD enabled for coff, aout and other formats. But not PE. Because of this, you'll have to install DJGPP, get binutils sources and rebuild them using DJGPP. Then, hopefully, you'll be able to use cygwin's port of GCC with DJGPP's port of binutils.