Re: Header include question

2002-02-09 Thread Rick Sivernell

Mike

 The problem was not the library, I have LD_LIB set.,
it is the older stl headers being called before the STLport 
header with the sane name ie.  vector list   on. I
have been using kdevelop 2, a real pig,  I do not consider 
very good at all. Their build files have everything in them
whether they are used or not. Making simple make file is 
not hard, they have made a feast of it.
-- 
Rick Sivernell
Dallas, Texas  75287
972 306-2296
[EMAIL PROTECTED]
Caldera Open Linux eWorkStation 3.1
Registered Linux User

   .~.
  / v \
 /( _ )\
   ^ ^
In Linux we trust!
___
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: Header include question

2002-02-08 Thread Mike Andrew

On Thu, 7 Feb 2002 06:04, Kurt Wall wrote:
 On, Wed, 6 Feb 2002 10:34:03 -0600, Rick Sivernell typed:

 [mondo snippage]
Kurt
  I understand, I have a handle on it now.
  I just knew you were the one to ask. I really
  appreciate your help Thank you.


Or, you could try the Kurtwerks(tm) all stars bobby dazzler. It saved me, the 
universe, made coffee and washed the dishes

export LD_LIBRARY_PATH=some damn path

It was *after* this bit of Kurwerks(tm) advice that I discovered I didn't 
need to fiddle with -I -i --nostdinc etc.

My only complaint is that Kurt could have told me about it before I asked.

-- 
http://linux.nf -- [EMAIL PROTECTED]

_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

___
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: Header include question

2002-02-06 Thread Kurt Wall

Scribbling feverishly on February 05, Rick Sivernell managed to emit:
 List / Kurt if he is there
 
   I am having a small problem. I have the old stl headers being used 
 before the new version. Would like to know if there is a enviro var that
 is set with the -I include files. I have a envir variables set  set into my path
 but they are not seen unless they have no file by that name anywhere else.
 
   Any ideas how to get arounf this?

I don't really understand what the problem is.

Kurt
-- 
Go to a movie tonight.  Darkness becomes you.
___
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: Header include question

2002-02-06 Thread Rick Sivernell

On Wed, 6 Feb 2002 08:32:44 -0500
Kurt Wall [EMAIL PROTECTED] wrote:

 Scribbling feverishly on February 06, Rick Sivernell managed to emit:
  On Wed, 6 Feb 2002 07:58:04 -0500
  Kurt Wall [EMAIL PROTECTED] wrote:
  
   Scribbling feverishly on February 05, Rick Sivernell managed to emit:
List / Kurt if he is there

  I am having a small problem. I have the old stl headers being used 
before the new version. Would like to know if there is a enviro var that
is set with the -I include files. I have a envir variables set  set into
my path but they are not seen unless they have no file by that name
anywhere else.

  Any ideas how to get arounf this?
   
   I don't really understand what the problem is.
   
   Kurt
   -- 
  Kurt
  
 The header files and there sub directory files are not seen, if there is a
  corresponding file in the oldder header files in /usr/.. In Windows there
  is a envirment variable to set paths for headers. That way certain headers
  will be seen before others. Is there something similar in Linux/Unix. Or do I
  need to move my stlport stl library to /usr.
 
 Okay, now I understand. -I /some/dir should place specified headers
 at the front of the list; that is, the standard headers should be
 searched *after* directories specified with -I. However, you have to
 use -I- *before* -I because -I only looks for #include foo.h, not
 for #include foo.h. Bear in mind that -I directories are scanned
 left to right. 
 
 You might also find it useful to use the -nostdinc option, which
 turns off searching the standard system directories for include
 files. The downside to this should be clear, though.
 
 Finally, use the -H option to tell GCC to print the names of the
 header files it is using.
 
 For more infomation, have a look at the Preprocessor Options and
 theDirectory Options nodes of the GCC info file.
 
 Kurt
 -- 
Kurt

I understand, I have a handle on it now.
 You might also find it useful to use the -nostdinc option, which
 turns off searching the standard system directories for include
 files. The downside to this should be clear, though.
   yes, you are coorect here, not a wise idea, unless your situation requires it. 

I just knew you were the one to ask. I really
appreciate your help Thank you.

cheers
-- 
Rick Sivernell
Dallas, Texas  75287
972 306-2296
[EMAIL PROTECTED]
Caldera Open Linux eWorkStation 3.1
Registered Linux User

   .~.
  / v \
 /( _ )\
   ^ ^
In Linux we trust!
___
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.