View previous topic :: View next topic |
Author |
Message |
lorschy Apprentice

Joined: 16 Jul 2002 Posts: 191
|
Posted: Sat Jan 18, 2003 11:42 pm Post subject: gcc und arm processor?? |
|
|
hy leute ich frage mich was ich brauch, bzw was ich machen muss das mein gcc in der lage ist c code in arm asm zu uebersetzen.
wenn ich gcc -S code.c eingeb dann erstellt er mir logischweise nur code fuer meinen processor.
brauche ich einen anderen gcc oder wie kann ich das aendern?? |
|
Back to top |
|
 |
nikai Apprentice


Joined: 02 Oct 2002 Posts: 270 Location: Kitzbühel, Austria
|
Posted: Sun Jan 19, 2003 12:16 am Post subject: Re: gcc und arm processor?? |
|
|
lorschy wrote: | ich frage mich was ich brauch, bzw was ich machen muss das mein gcc in der lage ist c code in arm asm zu uebersetzen.
brauche ich einen anderen gcc oder wie kann ich das aendern?? |
Man braucht einen Crosscompiler bzw eine Toolchain.
Sowas kann man sich entweder komplett als Paket herunterladen (hier eine ARM-toolchain für den Yopy: <http://www.yopydeveloper.org/english/develop/download/down_read.htm?data_id=1&m_categories=0&page=6>), oder man baut sich das Ding selber.
In Gentoo sind momentan schon Vorbereitungen getroffen worden, verschiedene derartige Compiler nebeneinander installieren zu können, und es wurde auch schon Interesse bekundet das nach dem 1.4-Release in Angriff zu nehmen. Es wäre großartig wenn man bald mit zB "emerge gcc-arm" sich so ein Teil selbst backen könnte. |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|