LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   How to cross compile? (https://www.linuxquestions.org/questions/linux-general-1/how-to-cross-compile-359060/)

jiyun0121 09-01-2005 03:29 AM

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.

XavierP 09-01-2005 06:20 AM

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 :D

rstewart 09-01-2005 10:13 AM

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.

jiyun0121 09-01-2005 06:15 PM

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.


All times are GMT -5. The time now is 12:49 PM.