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: should we search $prefix/include ?


"H . J . Lu" <hjl@lucon.org> writes:

> FYI, the include directory has been broken for years.

Yes, I know you've made that claim.

> The only reasons it hasn't bitten many people are
> 1. gcc is not usually used as a system compiler.

Nonsense.  Perhaps you mean "official FSF gcc releases are usually
tweaked before being used as a system compiler" which is a very
different thing.

> 2. Most people compile gcc as a system compiler with "make bootstrap".

What does tha have to do with anything?  The whole point of this bug
report is what happens when gcc is *not* installed as a system
compiler.  (And I used "make bootstrap".)

> I alway apply a patch to toplevel to remove includedir. Passing
> includedir to gcc only makes senses when gcc is used as cross
> compiler.

I don't know what you mean by "passing includedir to gcc", but it
makes a lot of sense to search $prefix/include.
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/per/


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