Changeset 33c849e
- Timestamp:
- Aug 30, 2019, 12:52:14 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:
- 7c8246d
- Parents:
- b544afa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
driver/cc1.cc
rb544afa r33c849e 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 14:21:22201913 // Update Count : 3 7512 // Last Modified On : Fri Aug 30 12:47:39 2019 13 // Update Count : 380 14 14 // 15 15 … … 33 33 34 34 35 static string compiler_path( CFA_BACKEND_CC ); // path/name of C compiler 35 static string library_path( CFA_LIBDIR ); // cfa-cpp path 36 static string compiler_path( CFA_BACKEND_CC ); // C compiler path/name 36 37 static bool CFA_flag = false; // -CFA flag 37 38 static bool save_temps = false; // -save-temps flag … … 100 101 } else if ( prefix( val, "-B=" ) ) { // location of cfa-cpp 101 102 bprefix = val.substr( 3 ); 102 } else { 103 } else { // normal flag for cfa-cpp 103 104 args[nargs++] = ( *new string( arg.substr( __CFA_FLAGPREFIX__.size() + 4 ) ) ).c_str(); 104 105 } // if … … 430 431 431 432 if ( fork() == 0 ) { // child runs CFA 432 cargs[0] = ( *new string( bprefix + "cfa-cpp" ) ).c_str(); 433 // if ( bprefix != library_path ) { cerr << bprefix << " " << library_path << endl; abort(); } 434 cargs[0] = ( *new string( library_path + "cfa-cpp" ) ).c_str(); 433 435 cargs[ncargs++] = cpp_in; 434 436
Note: See TracChangeset
for help on using the changeset viewer.