Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
getting libraries for gcc
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
TheJabberwokk
Apprentice
Apprentice


Joined: 13 Aug 2002
Posts: 196
Location: Gloucester

PostPosted: Mon Apr 07, 2003 2:32 am    Post subject: getting libraries for gcc Reply with quote

Is there anyway to find out what libraries one can link with gcc?

ie -lGL....etc
Back to top
View user's profile Send private message
esammer
Retired Dev
Retired Dev


Joined: 05 Apr 2003
Posts: 155
Location: NY, US

PostPosted: Mon Apr 07, 2003 2:52 am    Post subject: Re: getting libraries for gcc Reply with quote

Most of the libraries installed on your box will be in /lib, /usr/lib, /usr/local/lib, and /usr/X11/lib. In most cases, these are C and C++ libraries as scripting languages like Perl and Python have their own lib directories. All of the paths that gcc (or the linker, specifically) will search are in /etc/ld.so.conf

Check out the gcc site for more info..
Hope that helps.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum