Welcome, Guest. Please login or register.

Author Topic: C programming  (Read 3403 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline ArkhanTopic starter

  • Sr. Member
  • ****
  • Join Date: Aug 2007
  • Posts: 490
    • Show only replies by Arkhan
    • http://www.aetherbyte.com
C programming
« on: June 06, 2009, 12:09:24 PM »
I recently refired up some Amiga excitement and have some time to kill.

Rather than kill it poorly, what in everyone whos done it's opinion, is the best C programming setup?

I know GCC is there, and can just do it the good ol' way, but are there any tools/software suites I should know about?

I saw a few mentioned on a few sites and dont want to sift thru em all if theyre junk!

I normally use GCC and Notepad++ on Windows, and Scintilla on Linux

:)  Any good game-making libraries? I have a Berzerk remake that wouldn't mind an Amiga port  :-D
I am a negative, rude, prick.  


"Aetherbyte: My fledgling game studio!":  << Probably not coming to an Amiga near you because you all suck! :roflmao:
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: C programming
« Reply #1 on: June 06, 2009, 12:13:28 PM »
Well, if you are going to get into programming on the amiga, you might get the 2.1 dev cd. This happens to include StormC3 on there.

As a compiler it isn't in the same league as gcc (H&P recognised this and moved their compiler backend to gcc with v4), but it is very easy to get started with.

Then there's GoldEd, which with gcc makes a pretty good environment for development. You've also got CubicIDE.

If you want to develop compact highly amiga specific code, good old SASC is still well regarded.
int p; // A
 

Offline bburtonpa

  • Newbie
  • *
  • Join Date: Sep 2006
  • Posts: 20
    • Show only replies by bburtonpa
Re: C programming
« Reply #2 on: June 06, 2009, 12:59:38 PM »
Quote from: Arkhan;509545
I recently refired up some Amiga excitement and have some time to kill.

I normally use GCC and Notepad++ on Windows, and Scintilla on Linux



Take a look at AmiDevCPP (http://amidevcpp.amiga-world.de/download.php?HR_LANG=english).  It is a cross-compliler front-end for GCC that is already configured to produce executables for Amiga/Aros/MorphOS targets.  If I am not mistaken, it can also generate code for Windows targets making it a whole lot nicer to use than notepad.
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: C programming
« Reply #3 on: June 06, 2009, 01:01:19 PM »
If memory serves, the gcc backend in AmiDevCPP is also more up to date than existing m68K builds of gcc for the amiga.

Don't quote me on that, though.
int p; // A
 

Offline GadgetMaster

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2177
    • Show only replies by GadgetMaster
Re: C programming
« Reply #4 on: June 06, 2009, 01:05:16 PM »
Quote from: Karlos;509564
If memory serves, the gcc backend in AmiDevCPP is also more up to date than existing m68K builds of gcc for the amiga.


Quote
Don't quote me on that, though.

Oops too late. :laughing:
 

Offline bburtonpa

  • Newbie
  • *
  • Join Date: Sep 2006
  • Posts: 20
    • Show only replies by bburtonpa
Re: C programming
« Reply #5 on: June 06, 2009, 01:06:27 PM »
You are correct.  I think the current version is up to 4.3 whereas the latest version on most Amiga specific download sites it 2.7 or 2.8...
 

Offline ArkhanTopic starter

  • Sr. Member
  • ****
  • Join Date: Aug 2007
  • Posts: 490
    • Show only replies by Arkhan
    • http://www.aetherbyte.com
Re: C programming
« Reply #6 on: June 06, 2009, 01:12:06 PM »
Quote from: bburtonpa;509562
Take a look at AmiDevCPP (http://amidevcpp.amiga-world.de/download.php?HR_LANG=english).  It is a cross-compliler front-end for GCC that is already configured to produce executables for Amiga/Aros/MorphOS targets.  If I am not mistaken, it can also generate code for Windows targets making it a whole lot nicer to use than notepad.


Im not using notepad (notepad.exe)

Its notepad++!  It has syntax highlighting for tons of stuff.

Hmm, I already have and sometimes use DevC++ ... do I need the AmiDevCPP download?  Or is this same thing doable from the Dev C++ I have and didn't even realize it? Maybe thru a package download for it?
I am a negative, rude, prick.  


"Aetherbyte: My fledgling game studio!":  << Probably not coming to an Amiga near you because you all suck! :roflmao:
 

Offline bburtonpa

  • Newbie
  • *
  • Join Date: Sep 2006
  • Posts: 20
    • Show only replies by bburtonpa
Re: C programming
« Reply #7 on: June 06, 2009, 01:23:50 PM »
I'm not sure if there is a package you can install to give it Amiga capabilities.  If you download "graceful bulldozer" it will install the latest version of DevC++, the Amiga/Aros/MorphOS cross-compilers, the necessary headers files, etc.
 

Offline ArkhanTopic starter

  • Sr. Member
  • ****
  • Join Date: Aug 2007
  • Posts: 490
    • Show only replies by Arkhan
    • http://www.aetherbyte.com
Re: C programming
« Reply #8 on: June 06, 2009, 01:31:43 PM »
Quote from: bburtonpa;509576
I'm not sure if there is a package you can install to give it Amiga capabilities.  If you download "graceful bulldozer" it will install the latest version of DevC++, the Amiga/Aros/MorphOS cross-compilers, the necessary headers files, etc.


Yeah I skimmed the package manager for devC++ and don't see any mention of Amiga.

must be a specialized setup built around the source for DevC++ or something.

Either way, good stuff!
I am a negative, rude, prick.  


"Aetherbyte: My fledgling game studio!":  << Probably not coming to an Amiga near you because you all suck! :roflmao:
 

Offline ferrellsl

Re: C programming
« Reply #9 on: June 06, 2009, 01:42:19 PM »
 

Offline ArkhanTopic starter

  • Sr. Member
  • ****
  • Join Date: Aug 2007
  • Posts: 490
    • Show only replies by Arkhan
    • http://www.aetherbyte.com
Re: C programming
« Reply #10 on: June 06, 2009, 01:46:48 PM »
Quote from: ferrellsl;509579
For AmiDevCpp see this link:  

http://amidevcpp.amiga-world.de/aboutamidevcpp.php?HR_LANG=english


yeah I saw that, thats why i was wondering if the regular devCPP supported any of it... they both look and work the same :)
I am a negative, rude, prick.  


"Aetherbyte: My fledgling game studio!":  << Probably not coming to an Amiga near you because you all suck! :roflmao:
 

Offline x303

Re: C programming
« Reply #11 on: June 06, 2009, 03:02:02 PM »
Quote from: bburtonpa;509569
You are correct.  I think the current version is up to 4.3 whereas the latest version on most Amiga specific download sites it 2.7 or 2.8...

No, the 'lastest' a68k version is 3.4.0.

x303 :D :D :D
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: C programming
« Reply #12 on: June 06, 2009, 03:30:47 PM »
Quote from: Arkhan;509580
yeah I saw that, thats why i was wondering if the regular devCPP supported any of it... they both look and work the same :)


The IDE is the same, but vanilla DevCPP is primarily for windows development with gcc. AmiDevCPP provides an m68K/PPC cross compiler back end and various template configurations for the IDE to build targets for AmigaOS3/4/MOS/AROS etc.

If you only install AmiDevCPP, you can still build windows applications with it, it just isn't the prime focus of the package.
int p; // A
 

Offline ArkhanTopic starter

  • Sr. Member
  • ****
  • Join Date: Aug 2007
  • Posts: 490
    • Show only replies by Arkhan
    • http://www.aetherbyte.com
Re: C programming
« Reply #13 on: June 07, 2009, 01:07:16 AM »
I like it so far, but I want to do some stuff w/i Amikit .  

What is Lattice C
I am a negative, rude, prick.  


"Aetherbyte: My fledgling game studio!":  << Probably not coming to an Amiga near you because you all suck! :roflmao:
 

Offline slayer

  • Full Member
  • ***
  • Join Date: May 2009
  • Posts: 188
    • Show only replies by slayer
Re: C programming
« Reply #14 on: June 07, 2009, 03:32:23 AM »
The last version of SAS Lattice C was 6.58, I complied a HD installation of this environment a few years back... It involved installing 6.50/6.51 then applying 4 more patches from physical floppies...

The archive has been circulating in various circles ever since then... lol and not in it's original archive form either which was lzx... I uploaded it to EAB Zone...

you can always identify my archive because I cut and paste the needed user startup assignments at the end of the READ.ME file in the root directory

There was an additional experimental ppc addon but my memory fails me in regards of what executables were actually ppc... I have the release but I wouldn't know where to look...
« Last Edit: June 07, 2009, 03:37:20 AM by slayer »
~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