Creating binaries for a different platform
Hello
I have been able to test different intel graphic branches by following the instructions on this page: https://01.org/linuxgraphics/documen.../build-guide-0 But I would like to know if it is possible to create binaries of this so they can be installed on a different platform. If it is possible, what changes should be made to do it. Possible targets would be Kubuntu 15.04 and Fedora 22. Best Regards. |
Quote:
|
If you are compiling for a different architecture, like compiling ARM code on X86_64, then you need a cross compiler.
If you are compiling on Intel just for a different distro, then the only problem you run into is different library versions. Most upstream packages provide source and sommething like autoconf. Then each distro can build in its local environment. If you are running Redhat and want to build for Kubuntu, the simplest way would be to do it in a Kubuntu VM. |
I was going to cover cross compiling; however they didn't say that, they said Kubuntu 15.04 and Fedora 22 and I was wondering, besides just writing code that is portable from system to system, if there were any gotchas that the OP would be needing to look into to create an application, or an installable package which would work on various distributions.
I myself would just recompile on the various systems. But I am wondering about general deployment if I were to make an application or library that needed to be run on a variety of systems. Like you'd have to have it check for required minimum support levels of libraries and capabilities. I think instead this is what the OP was asking. |
Thanks for your comments,
To clarify: I was talking about same architecture (X86_64) but different distributions of linux. But seeing that this are drivers for Intel architecture, I was wondering if special precautions should be necessary. For example if I created binaries on Atom, would they work the same on 4th Gen Core platform? Best Regards, |
All times are GMT -5. The time now is 05:40 PM. |