Ask Your Question

Fedora 18, Fedora 4 compatibility

asked 2013-01-26 09:06:56 -0500

ChrisC gravatar image

Hi, I wish to compile console applications (using gcc) on my Fedora 18, 64 bit host, using Codeblocks for use on my bare-bones, embedded Fedora 4, 32 bit target system.

I've never had to cross compile like this and ask how complicated is the process? Do I need to match kernel versions on both platforms? Can I compile a 32-bit version of my application on my 64-bit host?

I'm sure one of the experts on here have done something similar.

Thanks, Chris

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-03-15 02:31:30 -0500

mooninite gravatar image

Won't work at all without a lot of reconfiguring/recompiling.

Fedora 18 will compile binaries that will require kernel 2.6.32 and higher -- even if you static link. Fedora 4 had kernel 2.6.11.

You can compile 32-bit binaries on a 64-bit host. I'd recommend running a non-network connected VM for Fedora 4 to compile in. I think the kernel requirement was upped in Fedora 6 to 2.6.18 so Fedora 5 is the last version that would work for you.

No chance you can update the embedded system to something more recent? Might be worth looking at Red Hat or CentOS if it is meant to be a long-term platform.

edit flag offensive delete link more

Question Tools


Asked: 2013-01-26 09:06:56 -0500

Seen: 196 times

Last updated: Mar 15 '13