I have tried "-Wl,--subsystem,windows" but ld returns: "ld: warning:cannot find entry symbol _WinMainCRTStartup defaulting to 0040100" Could you help me?! TOM - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help".