Does The Gp2x Support C Or C++


L

lol2232

Guest
ok so thats cool thanks... oh and it is not showing avatars on here for me? Is that just me?
 

beanfarmer

Member
Joined
Dec 2, 2005
Messages
231
Age
34
Location
Wales, UK
Website
Visit site
no its all of us for some reason they went down the other day i think someone said it was something to do with the site that hosted them but i carnt remember
 

Ferentix

It's not a me!
Joined
Oct 9, 2005
Messages
305
Location
Plymouth (UK)
Website
ferentix.byethost13.com
It'll "support" any language that there is a (cross)compiler available for that can output ARM machine code, or in the case of interpreted languages, any language there is an interpreter available for the GP2X for. At the minute, this basically is just C(++) though ;) (not counting interpreted) Unless I've gotten a massive misconception into my head about compilers and languages.
 

Shikaku

ROFL THE WORD PENIS IS HILARIOUS!
Joined
Jan 11, 2006
Messages
2,839
Location
USA... I feel lonely, not that many people from US
Website
Visit site
It'll "support" any language that there is a (cross)compiler available for that can output ARM machine code, or in the case of interpreted languages, any language there is an interpreter available for the GP2X for. At the minute, this basically is just C(++) though ;) (not counting interpreted) Unless I've gotten a massive misconception into my head about compilers and languages.

Um... assembly too =p
 
Last edited by a moderator:

bjimba

Still Fresh
Joined
Jan 10, 2006
Messages
67
It'll "support" any language that there is a (cross)compiler available for that can output ARM machine code, or in the case of interpreted languages, any language there is an interpreter available for the GP2X for. At the minute, this basically is just C(++) though ;) (not counting interpreted) Unless I've gotten a massive misconception into my head about compilers and languages.

No, you're pretty much right on the money. However, given the two-pass nature of the GCC (which nowadays stands for GNU Compiler Collection rather than GNU C Compiler), I would think that the rest of the front-ends for GCC (Fortran, Java, Objective C, etc.) could be built if anyone wanted them. Although why anyone would want to code in Java when we already have C++ is beyond me. (Donning flameproof suit.)
 
Last edited by a moderator:

Ferentix

It's not a me!
Joined
Oct 9, 2005
Messages
305
Location
Plymouth (UK)
Website
ferentix.byethost13.com
Ferentix said:
It'll "support" any language that there is a (cross)compiler available for that can output ARM machine code, or in the case of interpreted languages, any language there is an interpreter available for the GP2X for. At the minute, this basically is just C(++) though wink.gif (not counting interpreted) Unless I've gotten a massive misconception into my head about compilers and languages.
*
Um... assembly too =p

well, goes without saying ;) specifically ARM assembly of course :p
 
Last edited by a moderator:

slygamer

Member
Joined
Sep 19, 2005
Messages
795
Location
Brisbane, Australia
Website
Visit site
By default, it will print the result to the serial port. If you are running sterm, you will see the result on screen. If you are using the USB serial module, it will be printed to the USB port.
 

Aninhumer

Guy with scary face.
Joined
Dec 13, 2005
Messages
1,156
Age
30
Website
Visit site
As a script?
It wouldn't work because it's not shell script.

If you complied it... it would probably print it to the virtual console, or something...

EDIT: Someone beat me too it, unless the serial is the virtual console (which might be true) I'm wrong.
 

Goity

VIP Sleaze
Joined
Jun 22, 2004
Messages
5,598
Location
Isle of Ewe
Last edited by a moderator:
Top