Compiling Packages for Ubuntu on Slackware
I build my own Firefox packages on my Slackware 12.1 installations, but I would like to build Firefox 3 for my Daughter's laptop which is running the original (not-updated) installation of Ubuntu Gutsy.
I know I will have to make some of the compiler flags more 'generic', but I know little about the compatibility of versions of library packages on the two installations.
For example, Slackware 12.1 has GCC 4.2.3 which I think is a bit more recent than the one on 'Gutsy'. Will this be a problem and are there other library versions that would make the Firefox not run on the Ubuntu installation?.
Thanks for any advice.
I don't know, probably simpler to use a vm?
I'd say no. Slackware 12.1 has 'glibc-2.7',
Ubuntu Gutsy has the older 'glibc-2.6'.
If you want to compile for another Linux,
the host OS must be older than the target,
so to say. ( Or absolute identical.)
As suggested, imho the smartest method would be to run a VM or chroot environment for compiling in. Have a poke around about statically compiling firefox; that may be enough.
The actual package build itself should be doable regardless of the OS you're using, it's just the compilation that could get tricky.
Let us know what the outcome was!
|All times are GMT -5. The time now is 08:04 PM.|