LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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
 
LinkBack Search this Thread
Old 09-01-2005, 03:29 AM   #1
jiyun0121
LQ Newbie
 
Registered: Sep 2005
Posts: 7

Rep: Reputation: 0
How to cross compile?


Hi~ Have a good day~
I need your help.
I'm tring to "cross compile".

My computer's environment :
CPU : Pentium III (Katmai)

Debian version: 2.4.27 (i386)

GCC : i486-linux
Thread model: posix
version: 3.3.5 (Debian 1:3.3.5-13)

I have a program that is made on debian (i386 type) O/S.
The program is execute with booting.
I can modify a kernel using below commands
"make menuconfig/oldconfig/bzImage" ...etc.
so I can make kernel adding some functions I wanted.

but I want this program to execute on other CPU environments.
in particular 'sparc' type.
and I found that is can be by cross compile.
but I can't find the methods. and I don't know what will be cross compiled.
 
Old 09-01-2005, 06:20 AM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,165
Blog Entries: 4

Rep: Reputation: 426Reputation: 426Reputation: 426Reputation: 426Reputation: 426
Moved: This thread is more suitable in Linux-General and has been moved accordingly to help your thread/question get the exposure it deserves.

And welcome to LQ
 
Old 09-01-2005, 10:13 AM   #3
rstewart
Member
 
Registered: Feb 2005
Location: Sunnyvale, CA
Distribution: Ubuntu
Posts: 205

Rep: Reputation: 38
Why don't you simply compile/install your program and kernel modifications on the target machine? It is much easier to do that than to set up a cross compiler for the kernel.
 
Old 09-01-2005, 06:15 PM   #4
jiyun0121
LQ Newbie
 
Registered: Sep 2005
Posts: 7

Original Poster
Rep: Reputation: 0
Because I just have a machine that has i386 CPU type.
and I'll have some test with this programs next Tuesday.
but we don't have some machines to test, so we'll go to other company.
 
  


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 On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cross compile for i686 Law1213 Linux - Software 2 06-20-2005 08:36 PM
Qt Cross Compile werewolfolondon Linux - Software 2 02-25-2005 01:01 PM
cross compile zaicheke Linux - Software 7 01-20-2005 08:23 PM
Cross Compile Kernel. zaicheke Linux - General 1 01-10-2005 11:39 PM
How to cross-compile? karfei00 Linux - Laptop and Netbook 2 06-03-2004 09:56 AM


All times are GMT -5. The time now is 04:46 PM.

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