> Apart from wanting to understand the need/lack of ! in various places, this is
> otherwise OK.
> 
> Matthew

Ok, I split the long lines and added the missing '!' characters to all
the MULTILIB_OSDIRNAMES except for the default ones.  Using the '!' on
the default MULTILIB_OSDIRNAMES like:

MULTILIB_OSDIRNAMES = .=mips-r6-hard/lib

in t-img-linux causes the '--print-multi-os-directory' option to include
the '!' character in the output when using the default options and that
causes all sorts of problems when building.

Without a '!' on the default case:

% inst*/bin/*-gcc --print-multi-os-directory
mips-r6-hard/lib

With a '!' on the default case:

% inst*/bin/*-gcc --print-multi-os-directory
!mips-r6-hard/lib

This is probably a bug in the scripts that parse the t-* files and
setting up the various multi-lib lists but I didn't dig into exactly
where or what the problem was, I just left the '!' off the default case.
The non-default cases should all have a '!' and I have added it to the
ones that were missing it.

I will check this patch in after I have done one more round of testing
to make sure that my latest changes didn't break anything.

Steve Ellcey
sell...@imgtec.com

Reply via email to