GCC default search path

From: Christian Gudrian (Christian.Gudrian_at_gmx.de)
Date: 03/16/04


Date: Tue, 16 Mar 2004 19:20:34 +0100

Hello, there!

I'm using GCC 3.3.3 here on FreeBSD 5.2.1. The default include path
does not include /usr/local/include:

,----[ gcc -v -E - < /dev/null ]
| Using built-in specs.
| Configured with: FreeBSD/i386 system compiler
| Thread model: posix
| gcc version 3.3.3 [FreeBSD] 20031106
| /usr/libexec/cc1 -E -quiet -v -D__GNUC__=3 -D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=3 -D_LONGLONG -
| ignoring duplicate directory "/usr/include"
| #include "..." search starts here:
| #include <...> search starts here:
| /usr/include
| End of search list.
| # 1 "<stdin>"
| # 1 "<built-in>"
| # 1 "<command line>"
| # 1 "<stdin>"
`----

Some configure scripts, however, expect the search path to include
/usr/local/include. How can I fix this?

Cheers,

   Christian



Relevant Pages

  • gcc issue
    ... Gcc has just started acting really funny on me. ... Configured with: FreeBSD/i386 system compiler ... on FreeBSD 5.1 ... get the error message ...
    (comp.unix.bsd.freebsd.misc)
  • gcc issue
    ... Gcc has just started acting really funny on me. ... Configured with: FreeBSD/i386 system compiler ... on FreeBSD 5.1 ... get the error message ...
    (comp.unix.programmer)
  • Re: upgrading gcc-2.95 to gcc-3.3
    ... FreeBSD there is a very tight integration between the compiler and the ... Some of the gcc ports provide a knob to install over "base" gcc ... Configured with: FreeBSD/i386 system compiler ...
    (freebsd-questions)
  • gcc 3.3.1 ICE building R-letter
    ... % gcc -v ... Using built-in specs. ... Configured with: FreeBSD/i386 system compiler ... Thread model: posix ...
    (freebsd-current)
  • Re: cc1: internal compiler error: Abort trap: 6
    ... > Hello, while doing a make buildkernel on a FreeBSD 6.0 system, I get a ... > compile failure in pf: ... > Using built-in specs. ... gcc has just been upgraded to 3.4.4 so I expect a lot of ICEs fixed;) ICE can ...
    (freebsd-hackers)