Changeset 417a630 for driver/cc1.cc
- Timestamp:
- Aug 26, 2019, 4:15:08 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- b544afa
- Parents:
- 5a43ab8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
driver/cc1.cc
r5a43ab8 r417a630 10 10 // Created On : Fri Aug 26 14:23:51 2005 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Mon Aug 26 07:52:19201913 // Update Count : 37 412 // Last Modified On : Mon Aug 26 14:21:22 2019 13 // Update Count : 375 14 14 // 15 15 … … 33 33 34 34 35 static string installlibdir( CFA_LIBDIR ); // fixed location of cc1 and cfa-cpp commands when installed36 35 static string compiler_path( CFA_BACKEND_CC ); // path/name of C compiler 37 36 static bool CFA_flag = false; // -CFA flag 38 37 static bool save_temps = false; // -save-temps flag 39 38 static string o_file; 39 static string bprefix; 40 40 41 41 … … 98 98 } else if ( prefix( val, "-o=" ) ) { // output file for -CFA 99 99 o_file = val.substr( 3 ); 100 } else if ( prefix( val, "-B=" ) ) { // location of cfa-cpp 101 bprefix = val.substr( 3 ); 100 102 } else { 101 103 args[nargs++] = ( *new string( arg.substr( __CFA_FLAGPREFIX__.size() + 4 ) ) ).c_str(); … … 428 430 429 431 if ( fork() == 0 ) { // child runs CFA 430 cargs[0] = ( *new string( installlibdir+ "cfa-cpp" ) ).c_str();432 cargs[0] = ( *new string( bprefix + "cfa-cpp" ) ).c_str(); 431 433 cargs[ncargs++] = cpp_in; 432 434
Note: See TracChangeset
for help on using the changeset viewer.