From: ismaelj AT hotmail DOT com (" Ismael Jurado") Subject: Re: Stupid stupid question :/ 20 Mar 1997 13:04:37 -0800 Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <199703201936.LAA25902.cygnus.gnu-win32@f12.hotmail.com> Content-Type: text/plain X-Originating-IP: [194.179.125.138] Original-To: gnu-win32 AT cygnus DOT com Original-Sender: owner-gnu-win32 AT cygnus DOT com >I'm having problems compiling Win95 gui apps with 17.1. In the faq they >mention using the -ssubsystem windows option to gcc OR ld, but when I do >so I get an "invalid option" and "no such file or directory: windows" To compile a program for the windows subsystem, you have to do only two things: a) include the libraries you will use in the command line. The common windows stuff is included in KERNEL32.DLL, USER32.DLL and GDI32.DLL, wich are automaticaly included with the -mwindows option Other libraries, such advapi or tapi must be in the command line explicitely. b)If you don't want (and who would?) a console window to appear whit your windows program you have to include the option --subsystem windows (not --ssubsystem windows). and thatīs all. ismaelj AT hotmail DOT com --------------------------------------------------------- Get Your *Web-Based* Free Email at http://www.hotmail.com --------------------------------------------------------- - For help on using this list, send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".