delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Date: | Thu, 19 Oct 2000 00:10:45 -0230 (NDT) |
From: | Neil Zanella <nzanella AT cs DOT mun DOT ca> |
To: | "Robinow, David" <drobinow AT dayton DOT adroit DOT com> |
cc: | cygwin AT sources DOT redhat DOT com |
Subject: | RE: gcc and Win32 API |
In-Reply-To: | <80575AFA5F0DD31197CE00805F650D7602CDD1@wilber.adroit.com> |
Message-ID: | <Pine.OSF.4.21.0010190006001.26047-100000@garfield.cs.mun.ca> |
MIME-Version: | 1.0 |
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 AT 4' error. I thought that the order in which the flags were entered on the command line did not matter. Thanks, Neil Zanella -- nzanella AT cs DOT mun DOT 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 AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |