Welcome, Guest. Please login or register.

Author Topic: Compilers... What did they use before?  (Read 5661 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Dr_RighteousTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 1345
    • Show only replies by Dr_Righteous
Compilers... What did they use before?
« on: December 11, 2005, 12:29:41 AM »
Ok, so I've decided to try my hand at coding for Amiga... I'm used to Borland C for DOS and I don't like the overly complex crap you have to go through with GNU based C/CPP compilers. I want a folder full of libraries a nice IDE and a no-nonsense compiler... Like the good old days. A package that wouldn't know what to do with a "makefile." Freeware of course.

So what did people use before GCC, before anyone even heard of Linux?
- Doc

A4000D, A3640 OC-36.3MHz, custom tower, Mediator A4000D. Diamond Banshee 16M, Indivision AGA 4000, GVP HC+8.

Mac Mini 1.5GHz, that might run MorphOS someday, when the fools who own it come to the realization that 30 minutes just isn\'t enough time to play with it enough to decide whether or not you like it enough to cough up $200.

 - Someone please design SOME kind of DIY accelerator for the A4000. :D -
 

Offline odin

  • Colonization had Galleons
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 6796
    • Show only replies by odin
Re: Compilers... What did they use before?
« Reply #1 on: December 11, 2005, 12:32:00 AM »
Ehm, machinecode? Cardboard pieces with holes in them? ;-).

Offline Dr_RighteousTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 1345
    • Show only replies by Dr_Righteous
Re: Compilers... What did they use before?
« Reply #2 on: December 11, 2005, 01:02:40 AM »
Heh, I've considered assembler, but that's a little time consuming.
- Doc

A4000D, A3640 OC-36.3MHz, custom tower, Mediator A4000D. Diamond Banshee 16M, Indivision AGA 4000, GVP HC+8.

Mac Mini 1.5GHz, that might run MorphOS someday, when the fools who own it come to the realization that 30 minutes just isn\'t enough time to play with it enough to decide whether or not you like it enough to cough up $200.

 - Someone please design SOME kind of DIY accelerator for the A4000. :D -
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: Compilers... What did they use before?
« Reply #3 on: December 11, 2005, 01:05:33 AM »
Note to self: It's actually worth the effort to read the msg with thought before replying... :-)

Anyway, I doubt you find any simpler stuff from older compilers, nor proper IDEs. Makefiles etc are not Linux really, but very integral part of any C coding, from the very beginning (C was deviced for writing Unix). Even SAS/C has smake!

IMO one does him/herself a favor by learning to use the simple but yet powerful tools, such as make.

Also, gcc isn't really that bad, and it has one huge advantage over other compilers: It's available of dozens of platforms. So if you use std GNU make and gcc, your project can easily build for virtually hundreds of target systems.

PS. StormC 4 uses gcc.

PPS. Of the "older" compilers I prefer SAS/C.
 

Offline Dr_RighteousTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 1345
    • Show only replies by Dr_Righteous
Re: Compilers... What did they use before?
« Reply #4 on: December 11, 2005, 01:14:48 AM »
Ok, perhaps I should rephrase my question... What is the best C/CPP compiler for Amiga that is NOT *nix based?
- Doc

A4000D, A3640 OC-36.3MHz, custom tower, Mediator A4000D. Diamond Banshee 16M, Indivision AGA 4000, GVP HC+8.

Mac Mini 1.5GHz, that might run MorphOS someday, when the fools who own it come to the realization that 30 minutes just isn\'t enough time to play with it enough to decide whether or not you like it enough to cough up $200.

 - Someone please design SOME kind of DIY accelerator for the A4000. :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: Compilers... What did they use before?
« Reply #5 on: December 11, 2005, 01:26:16 AM »
Assuming you don't want to use gcc, you have several options:

VBCC (free, shell based, C/C99 only)
StormC3 (shipped free with devcd 2.1)
StormC4 (I think it's like 50 Euro now?)
SAS/C (if you can still get it)

If you are looking for a really easy to use IDE, stormc is good. It isn't the greatest compiler however but for quick jobs it is quite good.

Even now I sometimes use it to build a project that I will later compile with gcc or whatever.
int p; // A
 

Offline ltstanfo

  • Sr. Member
  • ****
  • Join Date: Feb 2002
  • Posts: 412
    • Show only replies by ltstanfo
Re: Compilers... What did they use before?
« Reply #6 on: December 11, 2005, 01:28:20 AM »
Hello Dr.

It's nice to see a fellow Styx fan online. :-)

To answer your questions, the AMIGA never really had a fully IDE for C (the AMIGA was really before C++ but more later).

The most popular commercial C packages of the day were Lattice/SAS C (the most used by developers), Manx C and in later years (after the demise of C=) Haage and Partner developed Storm C.  There were other C compilers but the three I have mentioned were "mainstream" although Manx died out pretty fast (around 1990 or 91 IIRC).  

The earlier C packages were command line compilers and you used an editor to write your code (CED comes to mind).  There were various "patches" written by users and one final patch for Lattice (before they discontinued AMIGA support) that made an early effort at adopting come C++ protocols and had a crude IDE but nothing on the order of MSVC or Borland.

Storm C was perhaps the only AMIGA C compiler to come close (IMO) to what you are looking for but even it is short of a truely IDE like MSVC or Borland.

You can visit the Haage and Partner website (google them) and select the AMIGA catagory.  I think they still sell Storm v4.0.  As for Lattice (my compiler of choice) it is long out of production / support but it turns up from time to time on ebay for reasonable prices and has the most material publised for it (books, FAQs, AMINET stuff, etc...)

I hope this helps you.

Regards,
Ltstanfo
Gee Brain... what do you want to do tonight?
 

Offline Dr_RighteousTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 1345
    • Show only replies by Dr_Righteous
Re: Compilers... What did they use before?
« Reply #7 on: December 11, 2005, 01:57:16 AM »
@ltstanfo

[OT] HUGE fan of Styx.. Even sans Dennis and John (RIP). They play around here several times a year and I go to every show I can! [/OT]

I'll probably upgrade to Storm C once I get my feet wet, since it seems to be the best commercial package available. I'm really just looking to get my feet wet with something freeware for now.

I've been browsing around for a couple of hours now, and found SAS/C to pretty much be a dead end in terms of availability.

I really don't mind the lack of a REAL IDE, since I think I have a copy of GoldED running around someplace. Failing that there's always EditPlus on my PeeCee. I just need a something tidy to crank out the binary when I'm done.

DICE looks promising... Any thoughts?
- Doc

A4000D, A3640 OC-36.3MHz, custom tower, Mediator A4000D. Diamond Banshee 16M, Indivision AGA 4000, GVP HC+8.

Mac Mini 1.5GHz, that might run MorphOS someday, when the fools who own it come to the realization that 30 minutes just isn\'t enough time to play with it enough to decide whether or not you like it enough to cough up $200.

 - Someone please design SOME kind of DIY accelerator for the A4000. :D -
 

Offline ltstanfo

  • Sr. Member
  • ****
  • Join Date: Feb 2002
  • Posts: 412
    • Show only replies by ltstanfo
Re: Compilers... What did they use before?
« Reply #8 on: December 11, 2005, 02:08:43 AM »
Quote

Dr_Righteous wrote:
@ltstanfo

[OT] HUGE fan of Styx.. Even sans Dennis and John (RIP). They play around here several times a year and I go to every show I can! [/OT]


I really miss the "old Styx".  I saw them here in Huntsville twice (the Paradise Tour) and a couple of years ago when they got the replacement singer for Dennis (I don't recall the guy's name, he's OK but it just didn't feel right to me).  I've always loved their stuff from the first plexiglass toilet to their newest stuff.


Quote

DICE looks promising... Any thoughts?


Wow!  There's a compiler I haven't used / seen / heard about in quite a while....Dillion C (aka DICE).  It was a nice compiler for its day and the author / developer was a pretty sharp guy.  It's good for a first effort if you can't find a copy of SAS.  For my money, SAS is still the best compiler for the AMIGA (not that I've written a line of AMIGA code in several years).

Good luck with Storm C.  It is the newest compiler for the AMIGA but I never really liked using it.  Nothing specific, it just wasn't my "cup of tea".

Regards,
Ltstanfo
Gee Brain... what do you want to do tonight?
 

Offline Trev

  • Hero Member
  • *****
  • Join Date: May 2003
  • Posts: 1550
  • Country: 00
    • Show only replies by Trev
Re: Compilers... What did they use before?
« Reply #9 on: December 11, 2005, 02:35:52 AM »
This isn't the answer you want to hear, but I find I'm most efficient using Visual Studio with either VBCC or a gcc cross-compiler. Staying 100% Amiga is great (and sometimes fun), but going through the motions on a real Amiga is a bit painful. Coding under WinUAE is a huge improvement. If I weren't using Visual Studio, I'd code with WinUAE, GoldED, and VBCC. (Of course, GoldED--now part of Cubic IDE--includes everything you need to code C/C++ out of the box.)

If you're able to find a complete SAS/C package (they show up on eBay every once in a while), you'll still receive free phone support from SAS for issues with documented solutions.

I also use StormC at times just to make sure my cross-compiler is working properly. . . .

--Styx--

I saw Dennis DeYoung perform with the Sacramento Philharmonic Orchestra, the Sacramento Children's Choir, and a touring "rock" band last year. Excellent performance, although tainted with pro-war, anti-muslim banter.

Trev
 

Offline Dr_RighteousTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 1345
    • Show only replies by Dr_Righteous
Re: Compilers... What did they use before?
« Reply #10 on: December 11, 2005, 04:16:55 AM »
Yeah, GCC just isn't my cup of tea... I've got a small problem with the *nixing of AOS. I just don't like "GNU things." If I wanted an old *nix box, I'd buy an SGI O2 or something.

Perhaps I'm headed in the wrong direction? Aside from losing my mind in assembler, are there alternatives? Is there a better high-level language to code in for Amiga?

Say it's 1994 and I just got my brand-spanking-new A4000D... I get a wild hair up my keister and want to write a word-processor or a platform game from scratch. What would have been used?
- Doc

A4000D, A3640 OC-36.3MHz, custom tower, Mediator A4000D. Diamond Banshee 16M, Indivision AGA 4000, GVP HC+8.

Mac Mini 1.5GHz, that might run MorphOS someday, when the fools who own it come to the realization that 30 minutes just isn\'t enough time to play with it enough to decide whether or not you like it enough to cough up $200.

 - Someone please design SOME kind of DIY accelerator for the A4000. :D -
 

Offline Doppie1200

  • Sr. Member
  • ****
  • Join Date: May 2004
  • Posts: 497
    • Show only replies by Doppie1200
Re: Compilers... What did they use before?
« Reply #11 on: December 11, 2005, 09:06:11 AM »
I can recommend Hisoft C. It has not such a steep learning curve and it has a nice IDE
Regards,
Erno

(O\\\\_|_/O) <- this is supposed to look like the front of my beetle
(entire front not possible in signature)
 

Offline amigaoneproductions

  • Jr. Member
  • **
  • Join Date: Apr 2003
  • Posts: 51
    • Show only replies by amigaoneproductions
    • http://www.amigaoneproductions.co.uk
Re: Compilers... What did they use before?
« Reply #12 on: December 11, 2005, 09:21:06 AM »
Quote
Say it's 1994 and I just got my brand-spanking-new A4000D... I get a wild hair up my keister and want to write a word-processor or a platform game from scratch. What would have been used?


AMOS,  HiSoft Basic,  Blitz ?

I used all three at some time or other,  could never get my head around other languaged :-(
Stay safe on the Internet
http://www.fraudwatchers.org
 

Offline Curty

  • Newbie
  • *
  • Join Date: May 2004
  • Posts: 4
    • Show only replies by Curty
Re: Compilers... What did they use before?
« Reply #13 on: December 11, 2005, 10:17:12 AM »
@amigaoneproductions

Sorry for being of topic, good to see your still around!  :-)
A1-XE G4,512mb,Sapphire Radeon 9200 256mb,SBLive,Sil0680, Sony DRU-510a and 800a, 80gigHD, Wifi.
 

Offline uncharted

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1520
    • Show only replies by uncharted
Re: Compilers... What did they use before?
« Reply #14 on: December 11, 2005, 12:37:48 PM »
Quote

Karlos wrote:

StormC4 (I think it's like 50 Euro now?)
SAS/C (if you can still get it)


Technically StormC 4.0 used the GCC compiler :-P