Hello,
just updated to 64bit ubuntu.
Is it possible to create a 32bit binary on a 64bit system?
I need to create 32bit binaries beacuse my application links to a closed source 32bit only library
thanks for any hints!
Sebastian

Mailing lists / lazarus / 2008-03
6 messages · 5 people · –
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Hello,
just updated to 64bit ubuntu.
Is it possible to create a 32bit binary on a 64bit system?
I need to create 32bit binaries beacuse my application links to a closed source 32bit only library
thanks for any hints!
Sebastian
I think 32-bits programs usually run on 64-bits systems, so you can just install free pascal / lazarus for 32-bits in your system and use them.
Yes, but with a cost ! It's slower, and requires 32 bit libraries to be loaded (due to 32 bit ABI).
Ido
I think 32-bits programs usually run on 64-bits systems, so you can just install free…
This might be a possibility for Sebastian Kraft, who asked.
I have the problem that I would like to share a Lazarus program compiled to 64 and 32 bit and I am on an OpenSUSE 10.2 (10.3) 64bit Linux system with a 64bit Lazarus snapshot installed.
It would be great to compile the sources either to 64 AND next step to 32 bit.
So I am asking the same as Sebastian did - is there any (easy) possibility?
Thank you very much for your time to answer this question.
Regards
Georg
just updated to 64bit ubuntu. Is it possible to create a 32bit binary on a 64bit system?…
chroot or VMware/Xen
I hoped that there was a simpler solution...
Tried out chroot. It took about an hour to set it up and understand the concept and usage but now everything works like it should.
For people who understand german language I can recommend you this howto http://wiki.ubuntuusers.de/32-Bit_chroot
Haven't found an equivalent english version of it :(
Sebastian