Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@sources.redhat.com Delivered-To: mailing list cygwin@sources.redhat.com Date: Thu, 19 Oct 2000 00:10:45 -0230 (NDT) From: Neil Zanella To: "Robinow, David" cc: cygwin@sources.redhat.com Subject: RE: gcc and Win32 API In-Reply-To: <80575AFA5F0DD31197CE00805F650D7602CDD1@wilber.adroit.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Thanks. The suggested line works... This is funny though. If I type the exact same command as suggested but include the -lgdi32 just after the gcc instead of at the end of the line then the complier still returns the undefined reference to `GetStockObject@4' error. I thought that the order in which the flags were entered on the command line did not matter. Thanks, Neil Zanella -- nzanella@cs.mun.ca On Mon, 16 Oct 2000, Robinow, David wrote: > gcc -o zanella zanella.c -lgdi32 -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com