Jump to content

Recommended Posts

$Greetings. :)

 

I'm trying to find a compiler for 68k that supports C++ namespaces and ideally also with namespace aliasing support. I've tried Symantec C++ v8r6 and CodeWarrior v11.

 

Anyone recommend one? (Happy to pay if it's not abandonware).

 

Current setup:

O/S: 7.6.1

System: LC-III

RAM: 36mb

VRAM: 768kb

CPU/FPU: 68030/68882@33mhz

Disk: SCSI2SD + 18gb external disk + DVD-RW.

 

Thanks in advance :)

 

Link to post
Share on other sites

Not really beyond wrapped by 3rd parties.

 

I know. CW11 I'd have thought would've supported it. Couldn't see any ISO C++ compiler options either.

 

Hrrm. Thanks though. Hopefully someone else with more $CLU than us rocks up. :)

Link to post
Share on other sites

CodeWarrior Pro 6 (released in 2000) was the last version to include a 68k toolchain, and I'm pretty sure it has C++ namespace support. The IDE/compilers themselves won't actually run on a 68k machine though, I believe CW Pro 4 (from 1998) was the last version that ran on 68k (and only 040 at that).

Link to post
Share on other sites

I'm not sure anybody would want to compile a significant amount of C++ on a real 68k Mac, barring that C++ is more commonly taught than Pascal and C. The compile time overhead of the preprocessor and C++ templates will not make that a fun affair.

 

CodeWarrior Pro 4 was released in the same year as ISO C++98 became the first common, C++ standard. Hoping for a period-accurate ISO C++ compiler that runs on a 68k Mac is a bit of a stretch when it took over a good decade after that spec's release for compilers to become something resembling fully C++ ISO standard compliance.

 

 

Namespaces should be present in CodeWarrior, they have been a part of C++ since before the standard template library. Aliasing a namespace is maybe the one area where syntax might have changed, as it definitely did for C++17, but I didn't think that was a new feature.

Link to post
Share on other sites
  • 1 month later...

Wait.. I'm using CodeWarrior 11 .. did they restart the naming sequence and start calling it "CodeWarror Pro" ? Nuts!

 

No, I'm not doing it as a learning exercise as I've been doing it as a day-job for a couple of decades.

 

It's just for fun.

 

@nglevin: That was my confusion, as some of the compilers I have on Ultrix that pre-date the STL have support for it.
 

I have a funny feeling I'm doing it wrong (tm) and using an older version thinking it's newer.

 

Thanks guys for the prodding so far. :)

Link to post
Share on other sites
33 minutes ago, uridium said:

Wait.. I'm using CodeWarrior 11 .. did they restart the naming sequence and start calling it "CodeWarror Pro" ? Nuts!

Exactly right. CodeWarrior had two major releases a year, and the "Pro" suffix was a good way of avoiding the 20s. :)

 

CodeWarrior Pro 4 is solid on a 68040, any later and they start gradually PPC only, Carbon only, Mac OS X only...

 

I don't recall if CWP4 works on a 68030, but there were versions of CodeWarrior sold that ran acceptably on 68020s as late as 1997. There should be something.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...