[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

gcc not finding header / library files



        Hi.  I asked this question once before.  Unfortunately I did not
phrase the question properly so the answer I got was helpful but not useful.
Here goes again.

I am running bo and I am have troubling compiling with gcc/g++.  The
compiler does not find the prepocessor directive header files ie <iostream>
etc unless I include a switch -B (or is it -L) with the path to my header
and library files included.  Apparently I can set a enviornment variable so
I won't have to do this all the time.  Who would I go about doing this?  Is
there another way?

currently if I don't include the switch gcc responds with:

prog.C:1:iostream:No such file or directory

bummer...


--  
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: