FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm about to take delivery of a ruggadised processor which ships with a version of Fedora Core 4 but contains no development tools as part of its Linux distribution. The manual says a vanilla Fedora Core 4 installation can be used to compile up any applications. Noticing that FC4 is archived I looked at using Fedora Core 9 to compile up all my source code.
In particular I'm looking to use the GTK+ libraries, so if I download all the necessary libraries and dependencies and build from scratch, can I
compile using the default FC9 development tool chain, making sure I use the correct header files and libraries, and copy the resulting application across to FC4 and it will work?
Do I have to recompile the tool chain (gcc, libtool etc) with FC4 kernel headers and then compile the GTK sources?
Each version of Fedora uses a different version of GCC(and a lot of libs too). Without another FC4 box you are going to run into a lot of little(and some not so little) gotchas.
This is super easy. All you need to do is make a new folder on your system and copy over the contents of the / partition from a FC4 system. Then use the 'chroot' command to go into that folder and you can even use yum to install more packages!
For example.
On the FC4 system use the rsync command to copy it to your system at 192.168.1.10 into the /home/fc4/ folder by:
You probably would have to stick with the initial install versions of all the packages, unless you could find a FC4 repo that was still around(long shot).
I'm about to take delivery of a ruggadised processor which ships with a version of Fedora Core 4 but contains no development tools as part of its Linux distribution. The manual says a vanilla Fedora Core 4 installation can be used to compile up any applications. Noticing that FC4 is archived I looked at using Fedora Core 9 to compile up all my source code.
In particular I'm looking to use the GTK+ libraries, so if I download all the necessary libraries and dependencies and build from scratch, can I
compile using the default FC9 development tool chain, making sure I use the correct header files and libraries, and copy the resulting application across to FC4 and it will work?
Do I have to recompile the tool chain (gcc, libtool etc) with FC4 kernel headers and then compile the GTK sources?
You can build your program on the FC9 then pack it using Ermine (http://magicErmine.com) or statifier (http://statifier.sf.net)
Resulting executable should work on nearly all Linux disro without need to install any shared library
This is super easy. All you need to do is make a new folder on your system and copy over the contents of the / partition from a FC4 system. Then use the 'chroot' command to go into that folder and you can even use yum to install more packages!
For example.
On the FC4 system use the rsync command to copy it to your system at 192.168.1.10 into the /home/fc4/ folder by:
Once it is all copied over get a root terminal open on your FC9 box and do this:
chroot /home/fc4/
And you'll have every tool that was installed on that FC4 box available!
Thanks for the help.
I was wondering how to get the chroot command to 'stick', I didn't want to run as root in a terminal after the chroot command is executed to compile the source code up.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.