Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gcc und arm processor??
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
lorschy
Apprentice
Apprentice


Joined: 16 Jul 2002
Posts: 191

PostPosted: Sat Jan 18, 2003 11:42 pm    Post subject: gcc und arm processor?? Reply with quote

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
View user's profile Send private message
nikai
Apprentice
Apprentice


Joined: 02 Oct 2002
Posts: 270
Location: Kitzbühel, Austria

PostPosted: Sun Jan 19, 2003 12:16 am    Post subject: Re: gcc und arm processor?? Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
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