What C compiler to use?
Hi guys
I've never done any coding at all before (well except some basic cobol back in the early 90's) and want to make a start learning the basics on AGA Amigas. I intend to work through two books I have to begin with, Complete Amiga C by Cliff Ramshaw and Amiga C for Beginners by Abacus. Which is the most suitable compiler that I should use these days? beyond the basics my opening goals are to create simple GUI launching programs to begin with (nothing too ambitious lol). Any pointers would be great but remember.... complete beginner so keep it simple for me :) |
Best suggestion would be to see if you can get the compiler which the books reference.
On the Amiga, probably easiest would be SAS/C. For me, I use vbcc, cross-compiling under windows. There is a native version for the amiga, but I like to use my familiar development environment. |
Here is a post which has a setup vbcc toolchain for windows, if that helps :)
http://eab.abime.net/showthread.php?...highlight=VBCC |
"Amiga C for Beginners" uses Lattice C which became SAS/C. The latest version of this compiler is not free, no longer updated and comes without documentation but can be found (maybe even on this forum) if searching. It is probably your best bet on a real Amiga with low resources (CPU, memory and HD). Vbcc is a more modern C compiler which would suffice if you have the resources. It is easy to install for the Amiga, documentation is online, it is free for personal use and it is still developed.
http://sun.hasenbraten.de/vbcc/ |
Quote:
|
Quote:
The Amiga Developer CD 2.1 comes with Storm C and a lot of reference material, so that might be another option. Vbcc and SAS/C are quite popular these days. Basically you can't really go wrong if you stick to the big ones since they were all popular at some stage, so there should be a lot of information out there on them all. |
Unless you really really want to use a real Amiga for some reason, I would suggest you set up a cross compiler since native Amiga IDEs are very outdated compared to modern tools. For most tests you can then launch WinUAE and then only do tests on a real Amiga once in a while, just for sanity checks since WinUAE is quite accurate. :)
|
Quote:
|
Yes, but this man is going to use it as he reads a book for C beginners. Compile times won't get in his way.
|
Quote:
SAS C is quite Amiga friendly but VBCC is more accurate for current standards. |
Quote:
Quote:
|
I've gotten Lua to run on some weirdo platforms like BSD2.11, its codebase is pretty nice for that.
|
Quote:
|
Quote:
|
Wow that was more replies than i expected! Looks like VBCC or SAS/C will suit my needs, do these come with the needed includes or will I need to get them from somewhere else?
To answer the question, I want to use my Amiga's to learn this as I'm trying to make myself use them more. I have an A4000 and A1200 with 060 in both set up next to my PC but they barely get used and I want to change that (got plans to try tracking at some point down the line too). So for now I think it's safe to say it'll be a long time before compile times will worry me :) |
Just a question but what is wrong with Storm C?
|
Quote:
http://os.amigaworld.de/download.php?id=3 Works with all versions of the OS. |
Quote:
Quote:
http://www.haage-partner.de/download/AmigaOS/NDK39.lha Quote:
|
Quote:
Quote:
|
Quote:
|
All times are GMT +2. The time now is 01:00. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.