Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!mailrus!accuvax.nwu.edu!tank!eecae!netnews.upenn.edu!niven.cis.upenn.edu!ranjit
From: ranjit@niven.cis.upenn.edu (Ranjit Bhatnagar)
Newsgroups: comp.sys.amiga
Subject: Re: Rez and Manx C assembler.
Message-ID: <13706@netnews.upenn.edu>
Date: 16 Aug 89 06:47:34 GMT
References: <284@unmvax.unm.edu>
Sender: news@netnews.upenn.edu
Reply-To: ranjit@niven.cis.upenn.edu.UUCP (Ranjit Bhatnagar)
Organization: University of Pennsylvania
Lines: 27

In article <284@unmvax.unm.edu> erikj@unmvax.cs.unm.edu (Erik Johannes) writes:
>
>I have been trying to make the Manx C assembler "as" resident with "rez".

This is probably of relatively general interest.  My solution is this:
First, manually load as into rez:
	rez as
	as	/* terminates with error: 'no source file specified' */
then create an empty file in the working directory called 'as':
	touch as	or	type to as

This makes CC happy.  Apparently it has its own search path,
and when it finds the empty 'as' it calls LoadSeg on it, which
is intercepted by rez.

I have a script file to do this for me when I set up my Aztec environment.
I also preload cc and ln, because I get more impatient while compiling
then while setting up the environment.

With all the compiler stages made resident and the libraries in
RAM: and the linker in quiet mode, the system is wonderfully fast.

	- ranjit


"Trespassers w"   ranjit@eniac.seas.upenn.edu	mailrus!eecae!netnews!eniac!...
	   "Such a brute that even his shadow breaks things." (Lorca)