This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: How do I link libraries with g++...
- To: Hendrix <tgjp at thezone dot net>
- Subject: Re: How do I link libraries with g++...
- From: Alexandre Oliva <aoliva at cygnus dot com>
- Date: 28 May 2000 11:36:28 -0300
- Cc: gcc at gcc dot gnu dot org, gcc-help at gcc dot gnu dot org
- Organization: Cygnus Solutions, a Red Hat Company
- References: <39312DB5.14D3C108@thezone.net>
On May 28, 2000, Hendrix <tgjp@thezone.net> wrote:
> I'm trying to use the Mesa (OpenGL) with g++ to develop graphics
> applications, but I have no idea how to link the Mesa and Glut libraries
> to my program (test.c}....
It's no different from gcc: -lname.
--
Alexandre Oliva Enjoy Guaranį, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat company aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org} Write to mailing lists, not to me