latest snapshot won't find C++ header files

Alexandre Oliva oliva@dcc.unicamp.br
Sun Oct 11 16:46:00 GMT 1998


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

>     but simply adding "-B${exec_prefix}/${target}/bin" to the
>     appropriate ..._CFLAGS might be the better solution (again, this
>     is, what Alexandre suggested in his email).

Is this /bin at the end really needed?  Otherwise, the attached patch
that should do it...  It introduces absolute_tooldir in the top-level
Makefile and in the gcc subdir, and adds -B$(build_tooldir)/ wherever
some -B flag is issued to xgcc.  I hope this is enough, but I can't
test it myself now.

BTW, why does gcc/Makefile.in defines tooldir as .../$(target_alias),
whereas the top-level Makefile defines it as .../$(target)?

-- 
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tooldir.diff
Type: text/x-diff
Size: 6265 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/19981011/0489cb93/attachment.bin>


More information about the Gcc-patches mailing list