This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Environment variable to pass in options?



  In message <XFMail.971207233249.lmarasci@stevens-tech.edu>you write:
  > >Sounds reasonable.  Why don't you try to put one into your environment
  > >from the shell, then trying to compile a simple program which includes
  > >something from that dir.  Start simple to make sure the basic feature
  > >works, then look at the bigger problem.
Quite odd since C_INCLUDE_PATH and CPLUS_INCLUDE_PATH seem to work
just fine for me.

Add "-v" to the compile line in your example and see what cpp prints
as its include path.

jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]