LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-15-2015, 12:15 AM   #1
adolfoe
LQ Newbie
 
Registered: Apr 2014
Posts: 24

Rep: Reputation: Disabled
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.
 
Old 09-16-2015, 09:45 AM   #2
_n00b
Member
 
Registered: Aug 2015
Posts: 35

Rep: Reputation: Disabled
Quote:
Originally Posted by adolfoe View Post
But I would like to know if it is possible to create binaries of this so they can be installed on a different platform.
I guess you have to cross compile it to make it work on another platform. Inform yourselve about cross compilation, but i warn you, it can be VERY difficult.
 
Old 09-16-2015, 09:55 AM   #3
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 & 7
Posts: 3,025

Rep: Reputation: 806Reputation: 806Reputation: 806Reputation: 806Reputation: 806Reputation: 806Reputation: 806
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.
 
Old 09-16-2015, 10:15 AM   #4
rtmistler
Moderator
 
Registered: Mar 2011
Location: MA, USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 7,214
Blog Entries: 12

Rep: Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656
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.
 
Old 09-17-2015, 06:18 PM   #5
adolfoe
LQ Newbie
 
Registered: Apr 2014
Posts: 24

Original Poster
Rep: Reputation: Disabled
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,
 
  


Reply

Tags
binaries, compilation


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating python + pygame binaries on Slackware 13.37 problem. Braqoon Slackware 3 01-12-2012 06:48 PM
Automate copying gzip files from Solaris platform to Windows platform rcforster Solaris / OpenSolaris 3 08-24-2011 08:53 AM
Creating temporary directories (cross platform) damien_d Programming 1 03-18-2009 02:41 AM
LXer: Platform Expands Platform Open Cluster Stack With First AMD-Based ... LXer Syndicated Linux News 0 11-13-2006 07:54 PM
while creating binaries iam getting elf error cybercop12us Programming 2 03-25-2003 08:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration