This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] vxworks multilib typo
- From: Daniel Jacobowitz <drow at false dot org>
- To: Andreas Tobler <andreast-list at fgznet dot ch>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 26 Jan 2009 17:35:30 -0500
- Subject: Re: [patch] vxworks multilib typo
- References: <4978CB8A.2040709@fgznet.ch>
On Thu, Jan 22, 2009 at 08:39:54PM +0100, Andreas Tobler wrote:
> Hello all,
>
> the below patch fixes a typo.
> I think it is correct since I did not find a MULTIDIR in the whole gcc tree.
> Also, I tested it while building a cross sparc i586-wrs-vxworks compiler.
> Without this patch it does not find the system headers.
>
> Is this ok for trunk or should I wait?
This is incorrect, sorry. From libgcc/Makefile.in:
./Makefile.in:MULTIDIR := $(shell $(CC) $(CFLAGS) -print-multi-directory)
MULTIDIRS is all multilib directories; but we only want the headers
for the *current* multilib, which are in different locations depending
on -mrtp. The headers here:
> */mrtp*) echo $(WIND_USR)/h ;; \
are only valid with -mrtp.
--
Daniel Jacobowitz
CodeSourcery