gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Beginners > What compiler to use?

#23279 - Gramps - Fri Jul 09, 2004 6:58 am

Okay, guys I did look first, but I confused.
Can anyone recommend a good , free, simple compiler that is easy to use and not too complicated to set up. I did check out MinGW but i don't get it.
Maybe I'm just not patient enough to read through what I'm supposed to do.
I just want something that is stupidly easy to download and setup, so that I can learn some programming.

#23280 - sajiimori - Fri Jul 09, 2004 7:25 am

MinGW really is good, it's not that hard to set up, and it'll teach you how to use a compiler from the command line which is useful.

But if you don't have the time to set it up, you could try Dev C++ which is preconfigured with a GUI.

Also, if you're open to learning languages other than C and C++, visit www.drscheme.org which is the home of an extremely easy-to-use Scheme implementation. Scheme is a great language for beginners because it has so few elements to it, and yet you won't outgrow it until you are a far greater programmer than I am. It's my favorite language.

#23281 - Gramps - Fri Jul 09, 2004 7:53 am

I will have a look at Scheme. Can I eventually use Scheme to program for the gba or would I have to switch to C or C++.

This was my main reason for picking C to start with. Maybe my aspirations are too high.

I've downloaded Miracle C to try as a compiler. It looks real easy to use, but I will have to switch if I ever decide to go pro.
I will have a look at DevC++ as well.

Thanks for the info.

#23295 - tepples - Fri Jul 09, 2004 3:03 pm

There does exist the CHICKEN compiler for the Scheme language, which has an ARM back-end, but because none of us have tried it, none of us can help you get it to output GBA binaries.

Dev-C++ is a graphical interface that wraps around GCC. Both MinGW and devkitARM are distributions of GCC. If you're just starting out with C, try it!
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#23310 - Gramps - Fri Jul 09, 2004 6:46 pm

tepples wrote:

Dev-C++ is a graphical interface that wraps around GCC. Both MinGW and devkitARM are distributions of GCC. If you're just starting out with C, try it!


Thanks! I noticed that in the description when I looked at it last night, so I think I might give it a try. I have a Graphics background, so (good or bad) I tend to lean towards the GUI interface.

I tried Miracle C but am not having much success. However, to be fair, I tend to work on the computer at night, after work, during the week, and really don't have enough time to fool with stuff then. Hopefully I will have more time on the weekend.

Thanks again for your help.

#23345 - sajiimori - Sat Jul 10, 2004 5:46 am

Unfortunately, the combination of Chicken's very large generated code and it's substantial runtime library makes it unsuitable for GBA development.

I looked around a lot for a compact, fast implementation, but I eventually decided I'd have to implement it myself.

And to repeat my eternal mantra: get the C Primer Plus.

#23346 - Gramps - Sat Jul 10, 2004 6:13 am

Thank you! thank you! thank you!

Thanks for the great advice guys! I just quickly tried Dev-C++ with a simple hello program and finally some success!! I feel like I've gotten over the first hurdle. Now a can start to learn some programming and test my result as I go.

I'm sure I will have a plethera of questions in the very near future!

At least I have a starting point to work from now!

Thanks Again! - This is a great forum!