137413Sbostic /* 237413Sbostic * drivedefs.h 337413Sbostic * 437413Sbostic * Definitions for Fortran 77 Compiler driver 537413Sbostic * For the VAX, running on the VAX 637413Sbostic * 737413Sbostic * UCSD Chemistry modification history: 837413Sbostic * 937413Sbostic * $Log: drivedefs.h,v $ 1037413Sbostic * Revision 1.4 85/02/12 19:25:05 donn 1137413Sbostic * Added 'CATNAME' to define the name of the concatenation command. 1237413Sbostic * 1337413Sbostic * Revision 1.3 85/01/14 06:42:01 donn 1437413Sbostic * Changed to use c2 as the peephole optimizer. 1537413Sbostic * 1637413Sbostic * Revision 1.2 84/04/11 19:02:16 donn 1737413Sbostic * Added Dave Wasley's fix to load the Unix library (libU77.a) first. 1837413Sbostic * 1937413Sbostic */ 2037413Sbostic 21*45210Ssklower #if HERE!=TARGET || FAMILY!=PCC || (HERE!=VAX && HERE!=TAHOE) 2237413Sbostic Wrong Definitions File! 2337413Sbostic #endif 2437413Sbostic 2537792Sbostic #define PASS1NAME "/usr/libexec/f77pass1" 2637792Sbostic #define PASS2NAME "/usr/libexec/f1" 2737413Sbostic #ifdef INLINE 2837792Sbostic #define PASS2INAME "/usr/libexec/if1" 2937792Sbostic #endif 3037792Sbostic #define PASS2OPT "/usr/libexec/c2" 3137792Sbostic #define ASMNAME "/usr/bin/as" 3237792Sbostic #define LDNAME "/usr/bin/ld" 3337413Sbostic #define CATNAME "/bin/cat" 34*45210Ssklower #define FOOTNAME "/usr/lib/crt0.o" 3537792Sbostic #define PROFFOOT "/usr/lib/mcrt0.o" 3637413Sbostic #define GPRFFOOT "/usr/lib/gcrt0.o" 3737792Sbostic #define TEMPPREF "fort" 3837413Sbostic 39*45210Ssklower static char *liblist [] = { 40*45210Ssklower "-lU77", 41*45210Ssklower "-lF77", 42*45210Ssklower "-lI77", 43*45210Ssklower "-lm", 44*45210Ssklower "-lcompat", 45*45210Ssklower "-lc", 4645159Sbostic NULL 4745159Sbostic }; 48*45210Ssklower static char *p_liblist [] = { 49*45210Ssklower "-lU77_p", 50*45210Ssklower "-lF77_p", 51*45210Ssklower "-lI77_p", 52*45210Ssklower "-lm_p", 53*45210Ssklower "-lcompat_p", 54*45210Ssklower "-lc_p", 5545159Sbostic NULL 5645159Sbostic }; 5737792Sbostic 5837792Sbostic #include <paths.h> 5937792Sbostic 6037792Sbostic #define _PATH_BSHELL "/bin/sh" 6137792Sbostic #define _PATH_CPP "/usr/bin/cpp" 62*45210Ssklower #define _PATH_UBIN "/usr/bin" 63