Setting Include/Library paths Linux

This is a discussion on Setting Include/Library paths Linux within the C++ Programming forums, part of the General Programming Boards category; I was wondering how I can set up my library and include paths in Linux (Fedora 8) so that for ...

  1. #1
    Registered User
    Join Date
    Mar 2008
    Posts
    1

    Setting Include/Library paths Linux

    I was wondering how I can set up my library and include paths in Linux (Fedora 8) so that for example with Boost I can do the following.

    #include<boost/filesystem/operations.hpp>

    Also where is the best place to store libraries in Linux, right now mine currently reside in /usr/lib/.

    Thank you.
    Last edited by beaver; 06-08-2008 at 02:57 AM.

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,888
    You are presumably using g++, so the GCC docs should be the place to look:
    Options for Directory Search
    Options for Linking
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Wireless Network Linux & C Testbed
    By james457 in forum Networking/Device Communication
    Replies: 3
    Last Post: 06-11-2009, 11:03 AM
  2. Setting Skype proxy under linux
    By Maragato in forum Tech Board
    Replies: 0
    Last Post: 11-30-2006, 07:09 PM
  3. installing linux for the first time
    By Micko in forum Tech Board
    Replies: 9
    Last Post: 12-06-2004, 04:15 AM
  4. Setting up Pine(Or Linux Mail) for Hotmail?
    By drdroid in forum Tech Board
    Replies: 5
    Last Post: 04-15-2003, 07:03 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21