[comp.sys.apple] C compiler for IIe

arcarese@andromeda.rutgers.edu.rutgers.edu (John C Arcarese) (08/16/88)

I'm posting this for someone who doesn't have usenet access.

Question: Does anyone know of a good *inexpensive* C compiler, preferrably
	  ANSI compatible.  
	  
Reply to: "mesa@andromeda.rutgers.edu"

		ThanX in advance,
				John A.
				
							 	

abc@BRL.MIL (Brint Cooper) (08/17/88)

Aztec-C comes highly recommended, especially for the Unix(tm) user.
While it does not provide a "make," it comes with 'vi,' which, while not
my favorite editor, is a lot better than nothing.

I don't know what it costs, but it is widely advertised, I believe.

_B

tucker@unocss.UUCP (Gregory A. Tucker) (08/17/88)

From article <741@galaxy>, by arcarese@andromeda.rutgers.edu.rutgers.edu (John C Arcarese):
> 
> Question: Does anyone know of a good *inexpensive* C compiler, preferrably
> 	  ANSI compatible.  
> 	  
> Reply to: "mesa@andromeda.rutgers.edu"
> 
> 		ThanX in advance,
> 				John A.

I would be interested in seeing any results, too.  The same would go
for a respectable Pascal compiler, especially one that compiles plain 
textfiles.  That way, I could edit the textfile in Unix and d/l it
to the Apple, or else use /any/ text editor for the job...

"Heaven is the space between your eyes
 Where you disguise your little lies..." -The Vapors

-- 
 ------------------------------+------------------------------------------
 Gregory A. Tucker- Sophmore   | Internet: ext11%zeus.dnet@fergvax.unl.edu 
 Electrical Engineering        | Bitnet:   EXT11@UNOMA1
 Univ. of Nebraska at Lincoln  | UUCP:     uunet!btni!unocss!tucker

bfox%vision@HUB.UCSB.EDU (Brian Fox) (08/17/88)

   Posted-Date: 16 Aug 88 23:17:46 GMT
   Date: 16 Aug 88 23:17:46 GMT
   From: "Larry W. Virden" <osu-cis!n8emr!lwv@tut.cis.ohio-state.edu>
   Organization: Ham BBS, 614-457-4227 (1200/2400/19.2 telebit,8N1)
   References: <8808142116.aa20677@SMOKE.BRL.MIL>, <741@galaxy>, <1029@pc.ecn.purdue.edu>
   Sender: info-apple-request@brl.mil


   The only commercially available, full C compiler, is from Manx.  There is
   a line of compilers from a low end thru a $300 model.  

   Byteworks has a Small-C to p-like-code compiler.

   There used to be a couple of other companies which advertised but I havent
   seen anything of them recently.

   Then on the IIgs there is APW C, which just had an update (now 1.0.1 in
   final (!) form.  It costs $75 PLUS either APW ($100) or possibly (though
   I havent tried it) Orca/M for the IIgs.

   Then there is my suggestion, that I throw out again - some of youcollege
   students looking for a good project should go at GNU C and get it to run
   on the Apple series - start with a IIgs and then use that as a base to
   work down to the Iie and c.


   -- 
   Larry W. Virden	 75046,606 (CIS)
   674 Falls Place, Reynoldsburg, OH 43068 (614) 864-8817
   osu-cis!n8emr!lwv (UUCP)	osu-cis!n8emr!lwv@TUT.CIS.OHIO-STATE.EDU (INTERNET)
   We haven't inherited the world from our parents, but borrowed it from our children.

bfox%vision@HUB.UCSB.EDU (Brian Fox) (08/18/88)

   Posted-Date: 16 Aug 88 23:17:46 GMT
   Date: 16 Aug 88 23:17:46 GMT
   From: "Larry W. Virden" <osu-cis!n8emr!lwv@tut.cis.ohio-state.edu>
   Organization: Ham BBS, 614-457-4227 (1200/2400/19.2 telebit,8N1)
   References: <8808142116.aa20677@SMOKE.BRL.MIL>, <741@galaxy>, <1029@pc.ecn.purdue.edu>
   Sender: info-apple-request@brl.mil


	[...]

   Then there is my suggestion, that I throw out again - some of youcollege
   students looking for a good project should go at GNU C and get it to run
   on the Apple series - start with a IIgs and then use that as a base to
   work down to the Iie and c.

This is not a good project.  The object for GCC is over 600k.  It is not
possible to make GCC run on the //gs, let alone the //e or c.  It is not
possible to make GNU Emacs run on the // series either.  Although, this would
be less of a project because the bulk of emacs is written in emacs-lisp,
meaning that you would only have to have to core of emacs loaded, which is
1179648 bytes in length.  These programs are written for a machine with
dynamic memory allocatiomn, and virtual memory.  They will not work without
these features.

GCC is an extremely high-quality full ANSI C compiler, with the ability to do
traditional compilations as well.  It has hairy optimization code, produces
RTL output making it a portable compiler (all you have to do is write a back
end which outputs assembler code).

The only thing that would even be possible is to make GCC output 65816 code.
This is probably only a 6-10 month full time project for an expert programmer
who is very experience with the apple, and is a Unix wizard besides.  I
wouldn't want to do it.

Brian Fox

holly@tut.cis.ohio-state.edu (Joe Hollingsworth) (08/31/88)

In article <8808161414.aa13988@SMOKE.BRL.MIL>, abc@BRL.MIL (Brint Cooper) writes:
> 
> Aztec-C comes highly recommended, especially for the Unix(tm) user.
> While it does not provide a "make," it comes with 'vi,' which, while not
> my favorite editor, is a lot better than nothing.
> 
I've done some research on this issue, and it seems that Manx's Aztec C
is THE C compiler for the IIe, but has anybody out there used it to
do anything substantial?  If so, what were your impressions?

Also, do there exist any books that are programmer's guides to the IIe.
For example, it would tell how to manipulate the screen, disk drive,
serial ports, etc.  (The IBMPC version is by Peter Norton, "Programmer's
Guide To The IBM PC".)  If they do exist, I'd like their title and
publisher.

Thanks,
Joe
holly@cis.ohio-state.edu  or ...!{att,pyramid,killer}!cis.ohio-state.edu!holly

shawn@pnet51.cts.com (Shawn Stanley) (09/03/88)

My opinion of the Aztec C //e development system is that it's workable,
although there are bugs.  I don't know if Manx does any development on
that version anymore or not.  I had purchased the ProDOS version, which
had some rather nasty bugs, and while they were supposed to be fixed in
future releases, I haven't heard anything to that effect.  Has anyone
else?

But it IS the best C for the Apple //e.  Since there is no other C.
And Manx has a solid reputation in the IBM PC market -- I've used their
PC compiler quite extensively.

I like Manx.  And I think the Apple //e version is workable, although
it has its problems.  If you want a list of bugs, maybe you can get the
(them frLge) from 212/542-2793, the Manx BBS.

UUCP: {rosevax, crash}!orbit!pnet51!shawn
INET: shawn@pnet51.cts.com

NETOPRMS@NCSUVM.BITNET (Michael Steele) (09/13/88)

For learning Instant Pascal is quite nice.  It uses an interpreter (like apple
 soft Basic) instead of a compiler.  This makes debugging much easier.  I
 THINK but don't know that Instant Pascal is UCSD compatable.  Now I would like
 to see a similar compiler for learning C!  I have a GS and Orca compiles quit
 fast....but the LINK step takes fooorrreeevvveeerr.  When your learning you
 don't want to spend all day compileing.  SO has anyone seen a FAST C compiler/
 linker?  Or an interpreted version of C for the Apple II?

 Until then I'll be stuck to using a UNIX system (which isn't all bad...just
 no windowing in our version!)
----------------------------------------------------------------------------
NETOPRMS@NCSUVM.BITNET  Michael Steele  co-sysop of NCSU Apple Users BBS
10 meg Apple downloads(latest PD software), Tech/Pascal/PCP discussion
919-783-9010 (PC Pursuitable NCRTP)  Call today!  919-783-9010