Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-21-2004, 09:15 PM   #1
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547

Rep: Reputation: 30
Changing gcc library path

By default my gcc compiles with the library location

What if I want it to compile with librarys located in

How can I do this?
Old 08-22-2004, 01:09 AM   #2
Senior Member
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
you really can't do that
if you want to install another version of gcc and have it not be the system compiler then you can do --prefix=/somewhere/else
but otherwise those header files and the libs under them are etched it binary stone
gcc can be set up to do cross compiling for instance you can produce sparc code on an intel machine simply by setting the target switch thanks to that directory structure and you don't want those header files where other programs can find them or where gcc can't


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
library path Scott7 Debian 1 10-19-2005 08:25 AM
library path variable vrdhananjay Linux - Software 2 09-03-2005 07:31 PM
How do I add library path? scc28y Linux - Newbie 5 03-18-2005 11:56 PM
GD Library path? kinkybullet Linux - Newbie 1 02-11-2004 10:15 PM
Cannot find path for library Baran Linux - Newbie 5 09-03-2003 05:46 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:35 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration