beldar@mips.com (Gardner Cohen) (04/26/91)
I have successfully built and passed the regression tests using cc2.11 and cc2.20 FCS. There are no changes required to Configure as long as you have /bin ahead of /bsd43/bin in your path; using the /bsd43 environment requires too many changes to Configure, and loses some functionality (shared memory, semaphores, etc.). Compiling with cc2.11: No changes are required. I added a line: nm_opts="-B" to hints/mips.sh to speed up the search for symbols from all the libraries. The default answers to all the Configure questions will work. Note that volatile doesn't work with cc2.11, but Configure will notice that it's disabled in mips.sh. Use -Olimit 10000 -O if compiling on a machine with lots of physical memory. Compiling with cc2.20 Beta: Don't do it. cc2.20 beta has problems compiling several of the perl .c files. You can probably specify cc -oldc as your compiler, which will use the 2.11 compiler passes. Compiling with cc2.20 FCS: cc2.20's cpp has a problem when run as a pipe from inside a bourne shell, which apparently perl does when running a perl -P script. Add the following lines to hints/mips.sh to force perl to use the old 2.11 cpp: cppstdin="/usr/lib/cmplrs/cc/oldc/cpp" cpp="/usr/lib/cmplrs/cc/oldc/cpp" You can safely ignore this problem if you never use perl -P scripts. The regression test comp/cpp will fail with a core dump or a strange cpp error message. Volatile works with cc2.20FCS, so you can safely delete the second line of mips.sh which disables volatile support. Again, use -O -Olimit 10000 if you have a lot of physical memory. Also note that if you make the suggested change to mips.sh, you should have the same compiler version installed on all machines on which you plan to use the perl executable. I am told that cpp will be fixed in cc3.0. -- Gardner Cohen beldar@mips.com {ames,decwrl,...}!mips!beldar (408) 524-8267