From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,ab3048d7983050df X-Google-Attributes: gid1164f8,public From: neideck@nestvx.enet.dec.com (Burkhard Neidecker-Lutz) Subject: Re: cc vs cc -migrate on Digital Unix Date: 1996/06/20 Message-ID: <4qca1g$3kh@usenet.pa.dec.com>#1/1 X-Deja-AN: 161254002 distribution: world references: <4q6pvi$s5m@lyra.csx.cam.ac.uk> organization: CEC Karlsruhe newsgroups: comp.sys.dec 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. >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. Yes. They invoke totally different compilers. >why isn't it the default system? Under Digital Unix V4.0 it is the default. There are historical reasons for this. >Any suggestions on which compiler to use for real production software? For development, I use both (and GCC as well), just to see what happens or because different compilers look at different errors (heck, I even use Saber C aka Centerline on my MIPS box). For production releases on the Alpha I usually compile once with "cc" (ACC) and once with "cc -migrate" (GEM C) and pick the better one, because there are some weird cases where ACC is better than GEM C. Burkhard Neidecker-Lutz EUROMEDIA - Distributed Multimedia Archives for Cooperative TV Production CEC Karlsruhe , European Applied Research Center, Digital Equip. Corp. email: neideck@kar.dec.com