Skip to contentSkip to conversation

i386 x SPARC

DISCUSSION RCS 2 participants 2 messages Sep 18, 2002

lore
Share & tools
lore

RCS

author
#0 lore raw

Hi all,

I am new to this discussion group. And I need help.

Is it possible to compile a software with gcc under Linux for another
plataform?
For example, I am using Linux under Intel and I want to create a software
for SPARC (RISC - SUN processors).
Is that possible? Does kylix or gcc enables me to do that?

Thanks for attenttion,

RCS.

_________________________________________________________
Oi! Você quer um iG-mail gratuito?
Então clique aqui: http://registro.ig.com.br/

-
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#1 lore raw
Quoted 7 lines · RCS

I am new to this discussion group. And I need help.

Is it possible to compile a software with gcc under Linux for another
plataform?
For example, I am using Linux under Intel and I want to create a software
for SPARC (RISC - SUN processors).
Is that possible? Does kylix or gcc enables me to do that?

It is possible, but you need versions of gcc and binutils which were compiled for the desired target platform. I'm not aware of any precompiled binaries, so you will probably need to compile them yourself.

See the Cross-GCC FAQ at:

http://www.objsw.com/CrossGCC/

Signature · 1 line
Glynn Clements <[email protected]>