Cross compiling on x86_64 to pentium4

Richard Shaw hobbes1069 at gmail.com
Thu Apr 19 16:09:32 UTC 2012


On Thu, Apr 19, 2012 at 11:03 AM, Roberto Ragusa <mail at robertoragusa.it> wrote:
> On 04/19/2012 04:59 AM, Jonathan Ryshpan wrote:
>> I need to build a program on an x86_64 system to run on an old laptop, which uses a pentium4.  What's the most convenient way to build this on a Fedora-16 system?
>
> I hope someone else will be able to suggest a better approach (it would be
> interesting for me too), but what I would do is this:
>
> 1) create a 386 virtual machine (kvm, vmware, ...)
> 2) install a 386 fedora (better if you match the version which is on the old laptop)
> 3) compile in the vm
>
> This will work for sure.

Way over thinking it I think. Use mock[1][2] that's what the buildsystem does.

Richard

[1] http://fedoraproject.org/wiki/Projects/Mock
[2] http://fedoraproject.org/wiki/Using_Mock_to_test_package_builds


More information about the users mailing list