Environment variable to pass in options?

Jeffrey A Law law@cygnus.com
Sun Dec 7 21:22:00 GMT 1997


  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



More information about the Gcc mailing list