LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 10-06-2009, 12:52 AM   #1
shaiva
LQ Newbie
 
Registered: Sep 2009
Posts: 15

Rep: Reputation: 0
Question cross compilation


Can you please clarify how a cross compilation is done (an example).
The difference between compilaton and cross compilation?
 
Old 10-06-2009, 03:06 AM   #2
lutusp
Member
 
Registered: Sep 2009
Distribution: Fedora
Posts: 835

Rep: Reputation: 101Reputation: 101
Quote:
Originally Posted by shaiva View Post
Can you please clarify how a cross compilation is done (an example).
The difference between compilaton and cross compilation?
"Compilation" is generally taken to mean a compilation for platform A executed on platform A.

"Cross-compilation" is generally taken to mean a compilation for platform B executed on platform A. In other words, a compilation that could not be executed on the hosting platform.

A "compilation" would therefore be a compiler running on Linux producing a program that can be executed on Linux.

A "cross-compilation" would be a compiler running on Linux producing a program to be executed on Windows.
 
Old 10-06-2009, 03:43 AM   #3
shaiva
LQ Newbie
 
Registered: Sep 2009
Posts: 15

Original Poster
Rep: Reputation: 0
fine !

Quote:
Originally Posted by lutusp View Post
"Compilation" is generally taken to mean a compilation for platform A executed on platform A.

"Cross-compilation" is generally taken to mean a compilation for platform B executed on platform A. In other words, a compilation that could not be executed on the hosting platform.

A "compilation" would therefore be a compiler running on Linux producing a program that can be executed on Linux.

A "cross-compilation" would be a compiler running on Linux producing a program to be executed on Windows.
Thanks
 
  


Reply


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
all about cross compilation swift2008 Programming 3 08-27-2008 05:49 AM
cross compilation NeoMagic Programming 5 12-13-2006 02:19 AM
Cross-Compilation Question lucky6969b Linux - Software 0 12-01-2005 07:31 PM
cross compilation Kocil Slackware 6 12-18-2003 01:53 PM
Cross-compilation radhapriya Linux - Software 0 08-11-2003 07:24 AM


All times are GMT -5. The time now is 07:13 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration