GCC not searching /usr/local/include



I'm having a little problem with compiling programs.

It seems that gcc does not search /usr/local/include for headers by
default; I have to specify -I/usr/local/include. It seems to me that it
should.

So:

Should gcc be searching /usr/local/include by default?

If yes: where do I look to try to fix this problem?

I'm not sure why I'm thinking it should; I seem to remember it doing so
before. But maybe I'm imagining things.

Thanks!
- Michael
_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: slime, debian(testing, 2.6.8), sbcl(0.9.16)
    ... I think you need to install GCC and kernel headers. ... What I don't understand is what GCC has to do with SBCL in this case. ...
    (comp.lang.lisp)
  • problem with makefile
    ... gcc -c random_functions.c ... gcc: random_functions.o: linker input file unused because linking not ... -main.c headers: ...
    (comp.unix.programmer)
  • Re: A Portable C Compiler
    ... whining about GCC is beyond me. ... bugs in the compiler as "whinners". ... Since they have the monopoly under linux, ... Most of the headers and system headers under linux are full of ...
    (comp.lang.c)
  • [SLE] Re-sending: Failed install of alsa-utils 1.00rc2
    ... checking for a BSD-compatible install... ... checking for gcc... ... checking for C compiler default output file name... ... Check the headers for your unsubscription address ...
    (SuSE)
  • Re: missing headers in 9.1
    ... when fixincludes is run by the makefile for GCC. ... standard system header files by the fixincludes process. ... GCC requires ANSI C headers and many vendors supply ANSI-incompatible ... it is just an unfortunate collateral inconvenience. ...
    (alt.os.linux.suse)