amiga.org
     
iconAll times are GMT -6. The time now is 01:21 AM. | Welcome to Forum, please register to access all of our features.

» Amiga.org » Amiga computer related discussion » Amiga Software Issues and Discussion » C programming

Amiga Software Issues and Discussion This forum exists for the discussion of the use, issues with, and fun brought about by classic and next generation Amiga software.

Reply
 
Thread Tools Display Modes
Old 06-06-2009, 05:09 AM   #1
Arkhan
Technoid
Points: 5,253, Level: 46 Points: 5,253, Level: 46 Points: 5,253, Level: 46
Activity: 1% Activity: 1% Activity: 1%
 
Arkhan's Avatar
 
Join Date: Aug 2007
Location: Atlantis
Posts: 490
Default C programming

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
Arkhan is offline   Reply With Quote
Old 06-06-2009, 05:13 AM   #2
Karlos
Sockologist
Points: 48,752, Level: 100 Points: 48,752, Level: 100 Points: 48,752, Level: 100
Activity: 8% Activity: 8% Activity: 8%
 
Karlos's Avatar
 
Join Date: Nov 2002
Location: I solve practical problems...
Posts: 16,606
Blog Entries: 18
Default Re: C programming

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.
__________________
OCA
This isn't SCSI... This is SATA!!!
I have CDO. It's like OCD except all the letters are in ascending order. The way they should be.
Core2 Quad Q9450 2.66GHz / X48T / 4GB DDR3 / nVidia GTX275 / Linux x64, AROS, Win64
A1XE 800MHz / 512MB / Radeon 9200 / OS4.1
A1200T BPPC 240MHz / 256MB / Permedia 2 / OS 3.1 - OS3.9, OS4
A1200T Apollo 1240 28MHz / 32MB / Mediator1200 / Voodoo 3000 / OS3.9
A1200D Apollo 1240 25MHz (ejector seat ROM edition) / 32MB
Karlos is offline   Reply With Quote
Old 06-06-2009, 05:59 AM   #3
bburtonpa
Merely Curious
Points: 4,201, Level: 41 Points: 4,201, Level: 41 Points: 4,201, Level: 41
Activity: 2% Activity: 2% Activity: 2%
 
bburtonpa's Avatar
 
Join Date: Sep 2006
Posts: 14
Default Re: C programming

Quote:
Originally Posted by Arkhan View Post
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/down...R_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.
bburtonpa is offline   Reply With Quote
Old 06-06-2009, 06:01 AM   #4
Karlos
Sockologist
Points: 48,752, Level: 100 Points: 48,752, Level: 100 Points: 48,752, Level: 100
Activity: 8% Activity: 8% Activity: 8%
 
Karlos's Avatar
 
Join Date: Nov 2002
Location: I solve practical problems...
Posts: 16,606
Blog Entries: 18
Default Re: C programming

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.
__________________
OCA
This isn't SCSI... This is SATA!!!
I have CDO. It's like OCD except all the letters are in ascending order. The way they should be.
Core2 Quad Q9450 2.66GHz / X48T / 4GB DDR3 / nVidia GTX275 / Linux x64, AROS, Win64
A1XE 800MHz / 512MB / Radeon 9200 / OS4.1
A1200T BPPC 240MHz / 256MB / Permedia 2 / OS 3.1 - OS3.9, OS4
A1200T Apollo 1240 28MHz / 32MB / Mediator1200 / Voodoo 3000 / OS3.9
A1200D Apollo 1240 25MHz (ejector seat ROM edition) / 32MB
Karlos is offline   Reply With Quote
Old 06-06-2009, 06:05 AM   #5
GadgetMaster
VIP / Donor
Points: 17,389, Level: 84 Points: 17,389, Level: 84 Points: 17,389, Level: 84
Activity: 1% Activity: 1% Activity: 1%
 
GadgetMaster's Avatar
 
Join Date: Feb 2002
Location: UK
Posts: 2,175
Default Re: C programming

Quote:
Originally Posted by Karlos View Post
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.
__________________
Are you interested in electric vehicles? Then join my group or check out: http://www.leaftalk.co.uk A UK based Nissan Leaf (EV) discussion board.
Crysis PC / A1200 Wedge
Favourite shortcuts (1) Coffee House (2) Gallery

GadgetMaster is offline   Reply With Quote
Old 06-06-2009, 06:06 AM   #6
bburtonpa
Merely Curious
Points: 4,201, Level: 41 Points: 4,201, Level: 41 Points: 4,201, Level: 41
Activity: 2% Activity: 2% Activity: 2%
 
bburtonpa's Avatar
 
Join Date: Sep 2006
Posts: 14
Default Re: C programming

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...
bburtonpa is offline   Reply With Quote
Old 06-06-2009, 06:12 AM   #7
Arkhan
Technoid
Points: 5,253, Level: 46 Points: 5,253, Level: 46 Points: 5,253, Level: 46
Activity: 1% Activity: 1% Activity: 1%
 
Arkhan's Avatar
 
Join Date: Aug 2007
Location: Atlantis
Posts: 490
Default Re: C programming

Quote:
Originally Posted by bburtonpa View Post
Take a look at AmiDevCPP (http://amidevcpp.amiga-world.de/down...R_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?
Arkhan is offline   Reply With Quote
Old 06-06-2009, 06:23 AM   #8
bburtonpa
Merely Curious
Points: 4,201, Level: 41 Points: 4,201, Level: 41 Points: 4,201, Level: 41
Activity: 2% Activity: 2% Activity: 2%
 
bburtonpa's Avatar
 
Join Date: Sep 2006
Posts: 14
Default Re: C programming

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.
bburtonpa is offline   Reply With Quote
Old 06-06-2009, 06:31 AM   #9
Arkhan
Technoid
Points: 5,253, Level: 46 Points: 5,253, Level: 46 Points: 5,253, Level: 46
Activity: 1% Activity: 1% Activity: 1%
 
Arkhan's Avatar
 
Join Date: Aug 2007
Location: Atlantis
Posts: 490
Default Re: C programming

Quote:
Originally Posted by bburtonpa View Post
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!
Arkhan is offline   Reply With Quote
Old 06-06-2009, 06:42 AM   #10
ferrellsl
Cult Member
Points: 8,201, Level: 61 Points: 8,201, Level: 61 Points: 8,201, Level: 61
Activity: 4% Activity: 4% Activity: 4%
 
Join Date: Jan 2005
Posts: 579
Default Re: C programming

For AmiDevCpp see this link:

http://amidevcpp.amiga-world.de/abou...R_LANG=english
ferrellsl is offline   Reply With Quote
Old 06-06-2009, 06:46 AM   #11
Arkhan
Technoid
Points: 5,253, Level: 46 Points: 5,253, Level: 46 Points: 5,253, Level: 46
Activity: 1% Activity: 1% Activity: 1%
 
Arkhan's Avatar
 
Join Date: Aug 2007
Location: Atlantis
Posts: 490
Default Re: C programming

Quote:
Originally Posted by ferrellsl View Post
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!
Arkhan is offline   Reply With Quote
Old 06-06-2009, 08:02 AM   #12
x303
Cult Member
Points: 11,054, Level: 69 Points: 11,054, Level: 69 Points: 11,054, Level: 69
Activity: 2% Activity: 2% Activity: 2%
 
x303's Avatar
 
Join Date: Feb 2002
Location: Amsterdam
Posts: 622
Talking Re: C programming

Quote:
Originally Posted by bburtonpa View Post
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
x303 is offline   Reply With Quote
Old 06-06-2009, 08:30 AM   #13
Karlos
Sockologist
Points: 48,752, Level: 100 Points: 48,752, Level: 100 Points: 48,752, Level: 100
Activity: 8% Activity: 8% Activity: 8%
 
Karlos's Avatar
 
Join Date: Nov 2002
Location: I solve practical problems...
Posts: 16,606
Blog Entries: 18
Default Re: C programming

Quote:
Originally Posted by Arkhan View Post
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.
__________________
OCA
This isn't SCSI... This is SATA!!!
I have CDO. It's like OCD except all the letters are in ascending order. The way they should be.
Core2 Quad Q9450 2.66GHz / X48T / 4GB DDR3 / nVidia GTX275 / Linux x64, AROS, Win64
A1XE 800MHz / 512MB / Radeon 9200 / OS4.1
A1200T BPPC 240MHz / 256MB / Permedia 2 / OS 3.1 - OS3.9, OS4
A1200T Apollo 1240 28MHz / 32MB / Mediator1200 / Voodoo 3000 / OS3.9
A1200D Apollo 1240 25MHz (ejector seat ROM edition) / 32MB
Karlos is offline   Reply With Quote
Old 06-06-2009, 06:07 PM   #14
Arkhan
Technoid
Points: 5,253, Level: 46 Points: 5,253, Level: 46 Points: 5,253, Level: 46
Activity: 1% Activity: 1% Activity: 1%
 
Arkhan's Avatar
 
Join Date: Aug 2007
Location: Atlantis
Posts: 490
Default Re: C programming

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!
Arkhan is offline   Reply With Quote
Old 06-06-2009, 08:32 PM   #15
slayer
Technoid
Points: 3,273, Level: 35 Points: 3,273, Level: 35 Points: 3,273, Level: 35
Activity: 2% Activity: 2% Activity: 2%
 
Join Date: May 2009
Posts: 158
Default Re: C programming

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 edited by slayer; 06-06-2009 at 08:37 PM..
slayer is offline   Reply With Quote
Reply

Bookmarks

Tags
programming

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump