Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 09-01-2005, 03:29 AM   #1
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
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
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
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
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.


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
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 > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:39 PM.

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