On 10/11/14 13:48, Ian Jackson wrote:
> Antti Kantee writes ("Re: rumprun-xen: Cleaning up the Mini-OS namespace"):
>> IIRC building rumpuser-baremetal with -m32 just worked, while trying to
>> build a host executable with -m32 got me into some package jungle with
>> no way out.
>
> On recent Debian (ones with multiarch), you build for 32-bit by
> installing the relevant 32-bit devel libraries and an appropriate
> compiler (probably called something like i386-crossgcc).
>
> On earlier Debian releases, this is done in a chroot.
>
> Just asking for -m32 will get the compiler to generate 32-bit machine
> code but then it will try to link with the 64-bit libraries and all is
> doom.

When everything is built from scratch and linked with -nostdlib, you 
don't need system-supplied 32bit libs.

Well, I can't quite figure out what's going on with libgcc, maybe that 
part works accidentally on x86?

------------------------------------------------------------------------------
_______________________________________________
rumpkernel-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rumpkernel-users

Reply via email to