Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: oberman@ptavv.es.net (Kevin Oberman)
Subject: Re: cc vs cc -migrate on Digital Unix
Date: 1996/06/20	[thread overview]
Message-ID: <srepw6ugzgm.fsf@ptavv.es.net> (raw)
In-Reply-To: 4q6pvi$s5m@lyra.csx.cam.ac.uk


In article <4q6pvi$s5m@lyra.csx.cam.ac.uk> 
jkb@mrc-lmb.cam.ac.uk (James Bonfield) writes:

> I've been trying to work out the difference between cc and cc -migrate.
> They seem to produce suprisingly different code than each other. As an
> example here's a simple byte swapping routine.
> [Testing information deleted]
> At the end of this it appears that cc -migrate is definitely the superior
> compiler. Why does using this flag change things so much!? I suspect that cc
> -migrate is actually an entirely different compiling engine. If it's really
> better (obviously my benchmarks are one specialist and trivial case) why isn't
> it the default system? I haven't got gcc compiled up on my system and I
> haven't got the real c89 either so I haven't compared these.
> 
> Trying gcc on Solaris and cc on Irix I find that all these pieces of source
> compile and optimise to give the same efficiency.

cc is the old MIPS C compiler. cc -migrate is the new GEM
compiler. GEM is almost always far superior to the MIPS compiler and,
as you guessed, a completely different engine.

As to the issue of why it's not default... it is as of V4.0. The
problem is that cc -migrate is licensed differently and is not
included in the base software for DU. So, if you had not installed cc
-migrate and its license, you could not have rebuilt the kernel. I
understand that V4.0 will include cc -migrate in the base kit.
-- 
R. Kevin Oberman
Energy Sciences Network (ESnet)
Lawrence Berkeley National Laboratory (LBNL)
E-mail: oberman@es.net
Phone: +1 510 486-8634



  parent reply	other threads:[~1996-06-20  4:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-06-18  4:00 cc vs cc -migrate on Digital Unix James Bonfield
1996-06-20  4:00 ` Petri Kaukasoina
1996-06-20  4:00 ` Burkhard Neidecker-Lutz
1996-06-20  4:00 ` Kevin Oberman [this message]
1996-06-20  4:00 ` Jeff Donsbach
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox