[Coco] Converting ANSI-C to K&R(Microware) - Ansifront didn't work

gene heskett gheskett at wdtv.com
Sat Jan 8 21:32:02 EST 2011


On Saturday, January 08, 2011 09:30:03 pm Michael Furman did opine:

> First, Willard Thanks for putting this together.  I see it will take a
> while to compile all of it, sounds like a good afternoon full of Coco
> Hacking!
> 
> On Jan 8, 2011, at 1:40 PM, Willard Goosey wrote:
> > On Sat, Jan 08, 2011 at 12:39:19PM -0800, Michael Furman wrote:
> >> Is there another way to convert ANSI C to K&R C automatically?
> > 
> > Other than that, all I can say is "chop the source into smaller
> > files"!
> 
> Sounds like what I need to try.  It's all in one file currently so
> breaking it apart will take a bit of work and skill but not very
> difficult.
> 
> >> The ansifront documentation mentions "Version 2.5 of CC" and I do
> >> see this on RTSI.  I'd appreciate it if someone could give me some
> >> pointers on how to cobble together the most recent C environment
> >> that runs on Nitros9, which libraries and Cprep to get to go along
> >> with this...
> > 
> > Well, you need the MW C Compiler and the LII development system.
> > You can grab c.comp from Gene's web site but you didn't hear that from
> > me! ;-)
> 
> Looks like I have the OS9LII Development System and C compiler disk
> images on hand.  I have copied all the new executables and files from
> these disks.  I am assuming that if a file already existed in my
> Nitros9 image that I shouldn't overwrite it with an old file from the
> distribution disk.   For example, I wouldn't copy a os9L1 command like
> login or tsmon into Nitros9 L2... also pretty sure os9defs has been
> updated to match Nitros9.  Is this a safe assumption?
> 
Generally yes.  There may be exceptions, there are to any rule, but I'd 
never just blindly overwrite it, I'd rename it so if things lead to a 
divorce, then recovery is just a few keystrokes away.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Learn from other people's mistakes, you don't have time to make your own.



More information about the Coco mailing list