Getting the most for a process.

David A. Fox david at quad1.quad.com
Fri Oct 13 18:25:26 AEST 1989


In article <20140 at mimsy.UUCP> chris at mimsy.UUCP (Chris Torek) writes:
>
>Unfortunately, the Encore version of cc, which is apparently a Greenhills
>C compiler, has all of its `phases' built in.  Thus, if you are compiling
>a single file, you cannot preprocess on cpu 0, compile on cpu 1, and
>assemble on cpu 2 all at the same time.
>
>In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163)
>Domain:	chris at cs.umd.edu	Path:	uunet!mimsy!chris

Tsk, tsk. You are forgetting about the -X182 option to cc :-) : 

.c.o:
	$(CC) $(CFLAGS) -S -c -Wc,-X182 $< | as -o $*.o 

I saw this in some encore makefiles once. I sure don't bother, but now
that I've been reminded... Also worth looking at perhaps, are the
(apparently obsolete) "-A" and (apparently preferred) "-q
nodirect_code" options; They seem also to fork off processes like
crazy.

After all, the more processes you use, the sooner it'll be done. 

Right? :-) 


-- 
--
David  A. Fox					Quadratron Systems Inc.	
Inet: david at quad.com, Postmaster at quad.com
UUCP: david at quad1.uucp 
      uunet!ccicpg!quad1!david

"Man, woman, child... All is up against the wall - of science." 



More information about the Comp.unix.questions mailing list