#ifdef __CYGWIN32__ /* * This section terminates the list of dll imports under cygwin32. * do !!!NOT!!! use this generated .o file with mingw32, it is already * included in the startup files. * main is included to make it possible to link your dll with * -lcygwin, which as far as I can tell you MUST do if your .exe * links with it. * you could also include this under *startfile: in cygwin32 specs, as *startfile: crt0%O%s %{dll:/usr/w/lib/fixup.o} * do NOT insert or delete any lines. * If you do not include this then you will have problems * when linking with DLLs. */ int main(){ return 0; } asm (".section .idata$3\n" ".long 0,0,0,0,0,0,0,0"); #endif