Author Topic: C/C++ Compilers and Frameworks that work?  (Read 504 times)

Offline Velek

  • Member
  • *
  • Posts: 6
  • Professional bit twiddler
C/C++ Compilers and Frameworks that work?
« on: November 24, 2018, 03:35:55 AM »
Way Back When, I started teaching myself how to write GUI code using THINK C/Symantec C++.
Now I'd like to go back and write some code for 68k/PowerPC Macintoshes for nostalgia.
I've been experimenting with Metrowerks, but the CW 10 Gold installation killed my OS.
The Symantec C++ 8.6 that's floating around is buggy as Hell.
I actually have Symantec C++ 7.0, but it's more than a little limited.
Do I have to break down and learn MPW?

Offline Naiw

  • Consistant Contributor
  • ***
  • Posts: 102
  • new to the forums
Re: C/C++ Compilers and Frameworks that work?
« Reply #1 on: November 27, 2018, 10:25:21 AM »
Not sure what OS version you're running.

But Code warrior you probably should try something more recent,
Code Warrior Pro 4 or later are good stable environments on anything post System 7.

As for MPW I think it's a pile of shit unless you desperately need to create more advanced build procedures than CodeWarrior supports via apple events and project setups.
Or if you're unable to obtain CodeWarrior- let's say there was a reason CodeWarrior was the defacto standard IDE since 1994 or something....

Offline Velek

  • Member
  • *
  • Posts: 6
  • Professional bit twiddler
Re: C/C++ Compilers and Frameworks that work?
« Reply #2 on: November 27, 2018, 02:52:14 PM »
Right now, SheepShaver on OS 9.  I'll have to try the different versions of CW that are around.
Wish NXP could sell me the last solid release for download.

Offline Naiw

  • Consistant Contributor
  • ***
  • Posts: 102
  • new to the forums
Re: C/C++ Compilers and Frameworks that work?
« Reply #3 on: November 29, 2018, 02:47:39 AM »
Right now, SheepShaver on OS 9.  I'll have to try the different versions of CW that are around.
Wish NXP could sell me the last solid release for download.

The latest solid release does not run on Mac OS 9 though. The last release to run on Mac OS 9 was CodeWarrior Pro 7 I think (possibly Pro 8), the later Pro 9 and Pro 10 (the last release) definately only run on Mac OS X.

You may be able to find them at macintoshgarden I believe, if you're lucky you'll find a license file as well- otherwise it will run in evaluation mode and have some restrictions.

Offline Knezzen

  • Platinum Member
  • *****
  • Posts: 769
  • Pro Tools addict!
    • Macintosh Garden
Re: C/C++ Compilers and Frameworks that work?
« Reply #4 on: November 29, 2018, 03:14:26 AM »
CodeWarrior 8 is the last version and it can be found on Macintosh Garden :)

http://macintoshgarden.org/apps/codewarrior-pro-8x

Offline Velek

  • Member
  • *
  • Posts: 6
  • Professional bit twiddler
Re: C/C++ Compilers and Frameworks that work?
« Reply #5 on: November 29, 2018, 05:32:28 AM »
Great, thanks for the info!  I'll try CW8.  I got pulled away from my Mac development path in 1995, so there's a twenty year gap of knowledge.

Offline Velek

  • Member
  • *
  • Posts: 6
  • Professional bit twiddler
Re: C/C++ Compilers and Frameworks that work?
« Reply #6 on: November 29, 2018, 08:21:38 AM »
Kind of stuck trying to run CW8.  I'm using SheepShaver with Mac OS 9.0.4.  CW says it needs 9.1 to run.  I tried downloading the 9.2.2 Universal CD from Macintosh Garden but it says that it can't run on my system.

Offline Knezzen

  • Platinum Member
  • *****
  • Posts: 769
  • Pro Tools addict!
    • Macintosh Garden
Re: C/C++ Compilers and Frameworks that work?
« Reply #7 on: November 29, 2018, 09:43:23 AM »
If you only have SheepShaver and have no real Mac, you are stuck with 9.0.4 I'm afraid.

I know that CodeWarrior Pro 6 works in Mac OS 8.6 and newer, so give that a show.
No idea about the system requirements for CodeWarrior Pro 7. Download and try it out.

http://macintoshgarden.org/apps/codewarrior-6
http://macintoshgarden.org/apps/codewarrior-pro-71

Offline Velek

  • Member
  • *
  • Posts: 6
  • Professional bit twiddler
Re: C/C++ Compilers and Frameworks that work?
« Reply #8 on: November 30, 2018, 10:02:19 AM »
Downloaded the 7.1 tools disc.  I was able to unzip it, but the Toast mounter said it was an invalid filesystem.
I'm currently traveling in a country where my Internet access comes and goes.
I'll have to try CW6 when I get back to the US tomorrow.

Offline Velek

  • Member
  • *
  • Posts: 6
  • Professional bit twiddler
Re: C/C++ Compilers and Frameworks that work?
« Reply #9 on: December 03, 2018, 10:39:35 AM »
I keep having trouble with CodeWarrior in that it destabilizes SheepShaver.  I'm trying to get CW6 to work now.
It will often cause SheepShaver to just quit.

Offline Naiw

  • Consistant Contributor
  • ***
  • Posts: 102
  • new to the forums
Re: C/C++ Compilers and Frameworks that work?
« Reply #10 on: December 09, 2018, 04:24:46 PM »
Sheepshaver may not necessarily be the best tool, give QEMU a try instead- it's way slower indeed but it actually runs Mac OS 9 good and even low level stuff works as expected.

Offline Philgood

  • Gold Member
  • *****
  • Posts: 295
Re: C/C++ Compilers and Frameworks that work?
« Reply #11 on: December 10, 2018, 12:25:15 AM »
I read on the blog from Cameron Kaiser that they (QEMU) made a "breakthrough" recently in emulating OS9.
What was that ?

Update:
I think I found the answer right here on the forum.
http://macos9lives.com/smforum/index.php?topic=2941.0
*G4 MDD 1.25GHz (Single 2003)* with 2x 80Gb harddrives, 1Gb RAM, Tascam US-428 and Edirol FA-101 USB/Firewire soundcards-*iMac G3 DV 400MHz* with installs from OS 8.6-OSX Tiger on different harddrives-*Powerbook G4 1.67Ghz* with new SSD ! Love it.

Offline Naiw

  • Consistant Contributor
  • ***
  • Posts: 102
  • new to the forums
Re: C/C++ Compilers and Frameworks that work?
« Reply #12 on: December 14, 2018, 07:55:41 PM »
I read on the blog from Cameron Kaiser that they (QEMU) made a "breakthrough" recently in emulating OS9.
What was that ?

Update:
I think I found the answer right here on the forum.
http://macos9lives.com/smforum/index.php?topic=2941.0

I don't know if they made any breakthrough recently, OS 9 been able to run on QEMU for at least a year (that I believe was enabled by the efforts of a GSoC student).
There been some talks about implementing various features to accelerate the emulation- but I'm not sure if anything happened in that area, I believe paravirtualisation is probably the best route to take.