From: Erik Max Francis Newsgroups: comp.os.msdos.djgpp Subject: Re: Don't get mad Date: Sun, 17 Aug 1997 12:57:56 -0700 Organization: Alcyone Systems Lines: 40 Message-ID: <33F757C4.6A60422A@alcyone.com> References: <97Aug14.105033gmt+0100 DOT 17077 AT internet01 DOT amc DOT de> NNTP-Posting-Host: newton.alcyone.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Chris Croughton wrote: > No. The nearest is the ANSI/DEC VT100-type text escape sequences, > but even they are honoured more in name than in implementation > (for instance the PC's ANSI.SYS does several things against the > spec., as well as adding things). curses packages are also available for the Mac, but I haven't checked which seems to be the best. > Note that the Mac is primarily a GUI system, whereas DJGPP is > a command-line compiler and the ANSI C library functions are > basically designed for terminal I/O or similar (i.e. straight > text). I don't know if the Mac includes any equivalent of > the Win95 Console Mode programs, or the Windows DOS box, but > I haven't seen it. All major Mac compilers (notably MetroWerks CodeWarrior and Symantec Think C) have pretty good ANSI C compatibility (considering Mac compilers in the past had absolutely none). This includes stdout routines -- a little console window will automatically pop up. > Do you mean produce a Mac executable (not .exe there) on a PC to > run on a Mac? I don't know of any cross-compilers for that - > which it would be possible to produce a version of DJGPP which > did it you'd have to do a lot of work (like rewriting half the > library, as well as putting the new code generation on). I know there are 680x0 cross-compilers for gcc, and there may be (and probably are) PowerPC cross-compilers by now. Unfortunately, there's a lot more to having a Mac application that will run under MacOS than just having a binary file with machine instructions in it. -- Erik Max Francis, &tSftDotIotE / email / mailto:max AT alcyone DOT com Alcyone Systems / web / http://www.alcyone.com/max/ San Jose, California, United States / icbm / 37 20 07 N 121 53 38 W \ "Love is not love which alters / when it alteration finds." / William Shakespeare, _Sonnets_, 116