LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-04-2005, 01:43 PM   #1
kiku
LQ Newbie
 
Registered: Mar 2005
Posts: 4

Rep: Reputation: 0
How to add boost libraries to gcc include list


I have GCC 3.4.2 and I need to have boost(boost.org) libraries in compiler's list of #include<...> search paths to compile Kahakai (Window manager).
I read GCC's man , but couldn't find that option.
Could anyone help me please.



Thanks in advance;
 
Old 03-04-2005, 02:49 PM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
lets say your includes are in something like /home/joe/boost/include:

export CFLAGS="-I/home/joe/boost/include"

edit: just to make sure, the above command is with a capitol "eye" not an lowercase "ell"
( on mine they look exaclty the same)

Last edited by __J; 03-04-2005 at 02:50 PM.
 
  


Reply


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
gcc include apocolpse Programming 6 11-03-2004 01:36 PM
X libraries or include files not found bishal Linux - Software 3 07-06-2004 01:03 PM
gcc on 9.1 include problem skywarp Slackware 3 06-04-2004 10:05 PM
Why not include all necessary libraries in a release? chingasman Linux - General 3 02-03-2003 05:35 PM
GCC include path. jwilson Linux - General 1 04-02-2001 03:58 PM


All times are GMT -5. The time now is 11:00 PM.

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