Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <20001130171108.23965.qmail@web116.yahoomail.com> Date: Thu, 30 Nov 2000 09:11:08 -0800 (PST) From: Earnie Boyd Subject: Re: OpenGL question To: Maurice Vosmeijer , cygwin AT sources DOT redhat DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii --- Maurice Vosmeijer wrote: > > The linker command line that I use in the makefile is as followes: > gcc -lglut32 -lglu32 -lopengl32 -o TD > > Question: > What am I doing wrong ?? > Am I missing something ? > When linking the placement of the libraries matter. To fix your problem move the -l switches to the end of the command line. For further information `info --file /usr/info/gcc' Cheers, ===== Earnie Boyd mailto:earnie_boyd AT yahoo DOT com --- --- --- Cygwin: POSIX on Windows --- --- Minimalist GNU for Windows --- __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/ -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com