This is the mail archive of the gcc-patches@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: latest snapshot won't find C++ header files


Manfred Hollstein <manfred@s-direktnet.de> writes:

> Yes, the "/bin/" *is* needed; the binutils like "as", "ld" ... are
> installed in ${exec_prefix}/${target}"/bin", hence "xgcc" needs to be
> told, to look for them in that particular directory.

I had naively assumed gcc would try to append bin/.  Ok, here's what
is probably my last try on all this unlibsubdir mess, at least for the
next two weeks.  For some reason, I had missed CXX_FOR_TARGET in the
last patch; I fix is included here.  I have also merged the includedir
patches in; I just can't maintain two separate sets of patches for the
same Makefile :-(

Ok to install this one?

> If your patch will be accepted, would you please add a
> similar sed pattern to those around line 1349 in the top-level
> configure to also properly replace the new "build_tooldir = ..."?

I'm not sure I understand what this would do, and I'm so sleepy that
I'd rather not try to understand it now.  Feel free to go ahead and
fix it if you know what should be done.

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:oliva@gnu.org mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil

unlibsubdir.diff


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