I'm new here and new to the Amiga. I've watched some AmigaOS videos on YouTube. Those were too exciting, and pushed me to buy a Sam System. Since I'm also new on programming I want to ask what language is best for developing on the Amiga. C or C++? Is StormC 4 available on some store? What's the difference between StormC4 and CubicIDE, which one do you recommend?
Greetings McDonald, you surely belong in a fairytale regarding your progress to the AmigaOS platform I'm not complaining just didn't expect someone to just jump straight on it without some prior history...
Anyway, Enjoy, you won't regret it!!!!
And yes, with my limited compiling expertise I use gcc also...
~Yes I am a Kiwi, No, I did not appear as an extra in 'Lord of the Rings'~ 1x AmigaOne X5000 2.0GHz 2gM RadeonR9280X AOS4.x 3x AmigaOne X1000 1.8GHz 2gM RadeonHD7970 AOS4.x
Storm C version 4.0 only works on AmigaOS 3.9 and earlier on the Motorola 680x0 series processors and only treated PowerPC chips as a coprocessor. AmigaOS 4.x has its own version of GCC for the PowerPC processor which is a free download.
The 680x0 based Amigas had a custom graphics chipset that is not available for the Sam 440 series so you might end up running a cross-compiler and EUAE to emulate the old graphics chips, if that's what interests you about the Amiga.
Download the latest sdk. I use notepad and gcc for what i do. There are irc channels you can ask in and there is www.utilitybase.com which is a forum for amiga devs.
@McDonald I assume that you are already familiar with C/C++? If not then there are other languages available for programming the Amiga.
Anyway, C is by FAR the most common way of programming the Amiga (all it's APIs are basically procedural, even if OS4 attaches them to one object per library). This should not stop you writing C++ programs, but the standard functions are just C.
The free OS4 SDK comes with GCC (and G++), so you just need a decent text editor to get started. Commercially I recommend CygnusEd if you can live without syntax highlighting, otherwise CubicIDE. But be aware that there ARE free alternatives which offer syntax highlighting (or not). I wouldn't touch OS4's built-in text editor (too basic).
There is a free SDK viewer somewhere, to make searching the SDK's docs easier.
I would not bother with StormC v4 - hasn't been developed in a long time (AFAIK).
As an editor I would use GoldED (not sure if still in development but it is an extremely nice editor with syntax highlighting, 3 different copy+paste buffers etc.), and as was said gcc as compiler (gcc supports both C and C++). You might also check www.os4depot.net and www.hyperion-entertainment.biz for SDK and additional libraries archives. You will find a lot of library packages known from Linux and other Operating systems in Amiga OS 4 versions there (SDL, a GL implementation, ODE, libjpeg, libpng, zlib,...).
Depending on preference you can either compile on your Amiga (which enables you to use GoldED which I find personally ways superior to any programmer editor on PC platforms) or you can compile on a PC (Win/Linux/etc.), connect the two machines using Samba. This has the advantage that if you produce some crashy executables, you can reboot your Amiga without having to open all editor windows again or losing your shell's history. Both has it's advantages and disadvantages.
AFAIK, the C/C++ addon install script of Cubic wont work with the latest SDK. Problem for new customers is, that there is only the newest SDK available for download, so no pre install with the older one is possible -> no functional C/C++ addon for OS4 yet.
@xeron CodeBench looks very interesting. I found its very informative website, but no link where I can download it from. It seems like I have to contact the author.
@Samurai_Crow Thanx for the explanation but as far as the internet tells, there is no more 680x0 harware being build? Please correct me if I'm wrong. I bought a Sam, so for what I can tell, ATM I see no point in learning to code for past hardware.