[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

gnat multiarch?



I'm still working on makeing gprbuild multiarch compliant. I think gnat
is installing in the wrong place.

As I understand it (and see
http://lists.debian.org/debian-ada/2011/09/msg00007.html), under
multiarch, libraries are installed in

/usr/lib/<target-arch>/...

So on my machine the GNAT runtime library should be in 

/usr/lib/i386-linux-gnu/gcc/i486-linux-gnu/4.6.1

However, it is in 

/usr/lib/gcc/i486-linux-gnu/4.6.1

This is with gnat-4.6 = 4.6.1-5, which aptitude says the the latest.

I've patched gprbuild (not in mtn yet) to search in
/usr/lib/i386-linux-gnu, so of course it is failing.

What's the right fix here?

1) Wait for gnat to be multiarch 

2) assume gnat will not be multiarch

3) something else?

but http://lists.debian.org/debian-ada/2011/09/msg00000.html says "the
transition to multiarch (in gnat-4.6) was complete.", so I'm confused.

-- 
-- Stephe


Reply to: