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

Re: Building 32 bit apps with 64 bit Gnat?



Hi!
maybe add the foreign architeture will work.

e.g.:
dpkg --add-architecture <arch>

apt-get update

apt-get -f -u install gnat:<arch>


[]'s Dani.



2014-07-03 19:08 GMT-03:00 Brian Drummond <brian@shapes.demon.co.uk>:
Another possibly dumb question...

How do I go about building a 32-bit application with amd64 Gnat-4.9?

On the face of it, "-m32" would do the job ... and it might as far as
the compilation is concerned, but gnatmake reports:

gnatmake: RTS path not valid: missing adainclude and adalib directories

Perfectly reasonable as only the native RTS is installed
(in /usr/lib/gcc/x86_64-linux-gnu/4.9/rts-native ).

Attempting to install gnat-4.9:i386 fails with a chain of missing
dependencies : gcc-4.9:i396 -> binutils:i386
Which apt-get offers to install, uninstalling a whole bunch of other
packages including all the amd64 compilers...

What I'm leading up to is, should the 32-bit RTS be available as a
separate package to allow multilib builds? (ditto the 64-bit one for
those folks using the 32-bit compiler; probably not many)

Or is there a simple process to generate and install it?
Perhaps copy from a 32-bit installation into /opt/somewhere/safe and
point --RTS= at it.

It's not a showstopper, I've put off trying Ludovic's instructions for
installing a 32-bit chroot for long enough...

- Brian

- Brian


--
To UNSUBSCRIBE, email to debian-ada-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] 1404425329.17104.14.camel@Sparrowhawk.Four" target="_blank">https://lists.debian.org/[🔎] 1404425329.17104.14.camel@Sparrowhawk.Four




--
"There are many plans in the Human heart, But
 is the Lord's Purpose that prevails"

"Existem Muitos planos e desejos no coração Humano, MAS
são os Propósitos do Senhor que prevalecem"

  []'s Dani:-)

Reply to: