Again this list gets the answers:
My original question:
Questions on compiling with the "-migrate" option on the DEC C compiler
on DEC UNIX 3.2c.
1) If the code that we write is to be portable to other systems (AIX
specifically) should we use the -migrate flag or is it more for
compatability with other DEC systems/compilers?
2) When I try the -migrate flag I get the following error:
cc -migrate -std1 -o testbase testbase.c
cc: Error: can't find or exec: /usr/lib/cmplrs/cc/gemc_cc: No such
file or directory
What does the above error mean? We have the development environment
loaded, is there some other license or file needed to run the compiler
in "-migrate" mode.
Answers came streaming in from:
Kevin Oberman" <oberman_at_es.net>
Larry Griffith <larry_at_garfield.wsc.mass.edu>
David Metsky <metsky_at_zk3.dec.com>
Jari Tavi 24-Sep-1996 0848 <jpt_at_namix.ENET.dec.com>
Benoit Maillard - Digital France- <maillard_at_atyisa.enet.dec.com>
Fergal Mc Carthy <fergal_at_ilo.dec.com>
The definitive answer was that I needed to load the Compiler Enhancement
Subset (OSFDECC350). The GEM C compiler generates better code and can
optimize much better. It will also be the default compiler in DU 4.0.
The -oldc flag will be needed to use the current default compiler in
pre-4.0.
Thanks for the help.
dave.
--
David Hinz --- MCI Telecommunications Corporation
E-mail: dhinz_at_dna406.dna.mci.com Pager: 1-800-PAGE-MCI PIN: 172-3148
Phone: (303) 291-6108 VNET: 636-6108 Fax: (303) 291-6365
Received on Tue Sep 24 1996 - 17:51:07 NZST