david@quad1.quad.com (David A. Fox) (10/13/89)
In article <20140@mimsy.UUCP> chris@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@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@quad.com, Postmaster@quad.com UUCP: david@quad1.uucp uunet!ccicpg!quad1!david "Man, woman, child... All is up against the wall - of science."
goldman@maxzilla.encore.com (Steve Goldman) (10/15/89)
From article <3314@gouda.quad.com>, by david@quad1.quad.com (David A. Fox): > In article <20140@mimsy.UUCP> chris@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. Several years ago we built versions of the C and f77 compilers that ran as group of processes, the results were not impressive and those versions were never released. Parallel make was much more effective. > Tsk, tsk. You are forgetting about the -X182 option to cc :-) : > > ..c.o: > $(CC) $(CFLAGS) -S -c -Wc,-X182 $< | as -o $*.o Which is entirely equivalent to: $(CC) $(CFLAGS) -c -q nodirect $< and less likely to get bad results when switch numbers change :-) Though, I'd be surprised if this beats direct code generation in cc... Steve Goldman, Encore Computer Corp (919) 481-3730 901 Kildaire Farm rd., bldg D Cary, NC 27511 USA arpa: goldman@encore.com uucp: {bu-cs,decvax,gould}!encore!goldman