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]
Other format: [Raw text]

Re: [patch] vxworks multilib typo


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


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