[patch] vxworks multilib typo

Andreas Tobler andreast-list@fgznet.ch
Mon Jan 26 23:13:00 GMT 2009


Daniel Jacobowitz wrote:
> 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.

I'm sorry then. I'll revert the commit asap.

Andreas



More information about the Gcc-patches mailing list