Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: xyth on September 03, 2003, 05:59:25 AM

Title: Freeciv made me want to learn C (newbie questions).
Post by: xyth on September 03, 2003, 05:59:25 AM
I am a Freeciv addict and I want to be able to compile Freeciv from source on my Amiga so that I can try out the latest addition and bugfixes.

I also wouldn't mind learning a bit of coding as well.  Currently my programming experience is based on AmiBlitz2 and a bit of E.

I picked up a second hand copy of SAS/C 6.3 (no manual unfortunately), but there also seems to be GCC, StormC and a bunch of others as well.

Freeciv is written in GCC but the Amiga (MUI) client (written by Sebastian Bauer) seems to written in SAS/C (with support for VBCC.

So these are my questions:

1) What is the best C (or C++) package for Amiga programming, and where can I get it?

2) How compatible are the various packages?  Could I, for instance, compile source written in GCC with SAS/C and vice-versa?

3) All the includes and everything that came with SAS/C 6.3 seem to be for OS1.3 and 2.x.  I run OS3.5 so do I need some sort of SDK from somewhere or do I need a more modern version of SAS/C?

4) Does anyone here have any experience compiling Freeciv on their Amiga?  Any particular advice or suggestions?
Title: Re: Freeciv made want to learn C (newbie questions).
Post by: iamaboringperson on September 03, 2003, 06:08:57 AM
First of all, good for you! learning C is a great experience and can offer you alot!

Quote
1) What is the best C (or C++) package for Amiga programming, and where can I get it?
IMHO, Storm C
You get it from Haage & Partner.
It is a really good product, especialy for begginers.
There is also GCC.

Quote
2) How compatible are the various packages? Could I, for instance, compile source written in GCC with SAS/C and vice-versa?
If you are talking about writing your own software, it's up to you.
If you write using nothing but plain(old) ANSI C, it should be very compatable.
C is ment to be compatable. Just don't use specific compiler conventions.

Quote
3) All the includes and everything that came with SAS/C 6.3 seem to be for OS1.3 and 2.x. I run OS3.5 so do I need some sort of SDK from somewhere or do I need a more modern version of SAS/C?
The 1.3 and 2.x stuff will work. However you would be best to get the Amiga Developer CD (2.1).
But for learning, using the 2.0 includes is fine.