- Timestamp:
- Aug 23, 2018, 11:06:16 AM (6 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
- Children:
- 9833cae0
- Parents:
- b740f0b
- Location:
- driver
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
driver/cc1.cc
rb740f0b rd6f4488 10 10 // Created On : Fri Aug 26 14:23:51 2005 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed Aug 22 17:26:09201813 // Update Count : 12 012 // Last Modified On : Thu Aug 23 09:48:40 2018 13 // Update Count : 122 14 14 // 15 15 … … 69 69 char *value; 70 70 71 value = getenv( "__C OMPILER__" );71 value = getenv( "__CFA_COMPILER__" ); 72 72 if ( value != NULL ) { 73 73 compiler_name = value; -
driver/cfa.cc
rb740f0b rd6f4488 10 10 // Created On : Tue Aug 20 13:44:49 2002 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed Aug 22 17:26:19201813 // Update Count : 26 512 // Last Modified On : Thu Aug 23 09:42:47 2018 13 // Update Count : 267 14 14 // 15 15 … … 91 91 string Major( str( CFA_VERSION_MAJOR ) ), Minor( str( CFA_VERSION_MINOR ) ), Patch( str( CFA_VERSION_PATCH ) ); 92 92 93 string installincdir( CFA_INCDIR ); 94 string installlibdir( CFA_LIBDIR ); 95 string srcdriverdir ( TOP_BUILDDIR "driver"); 93 string installincdir( CFA_INCDIR ); // fixed location of include files 94 string installlibdir( CFA_LIBDIR ); // fixed location of cc1 and cfa-cpp commands when installed 95 string srcdriverdir ( TOP_BUILDDIR "driver"); // fixed location of cc1 and cfa-cpp commands when in tree 96 96 97 97 string heading; // banner printed at start of cfa compilation … … 183 183 if ( i == argc ) continue; // next argument available ? 184 184 compiler_path = argv[i]; 185 if ( putenv( (char *)( *new string( string( "__ U_COMPILER__=" ) + argv[i]) ).c_str() ) != 0 ) {185 if ( putenv( (char *)( *new string( string( "__CFA_COMPILER__=" ) + argv[i]) ).c_str() ) != 0 ) { 186 186 cerr << argv[0] << " error, cannot set environment variable." << endl; 187 187 exit( EXIT_FAILURE );
Note: See TracChangeset
for help on using the changeset viewer.