"Shaun Jackman" <[EMAIL PROTECTED]> writes: > Reading through gcc/genmultilib, it looks as though > MULTILIB_EXCLUSIONS can take a '!' parameter, but MULTILIB_EXCEPTIONS > cannot.
I forgot about MULTILIB_EXCLUSIONS (it might be nice if it were documented). I don't know if it would help you, since it is evaluated at runtime--it will still build the library, it just won't use it. > Here's another failed experiment: > > MULTILIB_OPTIONS += fno-pic/fPIC > MULTILIB_DIRNAMES += nopic pic > # > MULTILIB_OPTIONS += mno-single-pic-base/msingle-pic-base > MULTILIB_DIRNAMES += noxip xip > MULTILIB_EXCEPTIONS += *fno-pic*/*msingle-pic-base* > > I wish I knew what text the shell glob pattern was globbing against. > It's clearly not using the resulting directory structure, since the > EXCEPTIONS use the OPTIONS names and not the DIRNAMES. To see the kind of thing which MULTILIB_EXCEPTIONS checks against, run gcc --print-multi-lib. The string before the ';' is probably the one being checked. Ian