Re: Multiarch in Debian unstable
Am Montag, 27. Juni 2011, 16:20:23 schrieb Steve Langasek:
> So this:
> > So it should be a matter of changing that to print this instead on Debian
> > multiarch: $ gcc -print-multi-os-directory
> > x86_64-linux-gnu
> > $ gcc -print-multi-os-directory -m32
> > i486-linux-gnu
> would definitely be wrong, because neither
> /usr/lib/x86_64-linux-gnu/x86_64-linux-gnu nor
> /usr/lib/x86_64-linux-gnu/i486-linux-gnu will exist. Correct would be '.'
> and '../i486-linux-gnu', but that's of little help if one doesn't know what
> it's relative to in the first place!
Then make it "../x86_64-linux-gnu" instead of "."
That will always work for all subdirectories of /usr/lib, no?
One question, though:
How are build tools like CMake converted to use Multiarch directories for the