Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <20021123231151.81084.qmail@web13602.mail.yahoo.com> Date: Sat, 23 Nov 2002 15:11:51 -0800 (PST) From: James Shaw Subject: Re: gcc, opengl, glut, gl & glu To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > Can you tell me how to compile a C file which use the > following libraries : > GL,GLU,glut > I have tried with : > gcc -o file -Wall -lglut -lGL -lGLU file.c Hi Samuel, No problem. My Makefile has: gcc hellogl.cpp -o hellogl -lglut32 -lglu32 -lopengl32 -mno-cygwin __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus – Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/