- Timestamp:
- Nov 3, 2014, 4:38:08 PM (10 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
- Children:
- 8c17ab0
- Parents:
- 93885663
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
driver/cfa.cc
r93885663 r134b86a 8 8 // Created On : Tue Aug 20 13:44:49 2002 9 9 // Last Modified By : Peter A. Buhr 10 // Last Modified On : Fri Oct 17 18:03:15201411 // Update Count : 9 510 // Last Modified On : Sat Oct 18 13:52:43 2014 11 // Update Count : 97 12 12 // 13 13 … … 139 139 } else if ( arg == "-nohelp" ) { 140 140 help = false; // strip the nohelp flag 141 } else if ( arg == "-compiler" ) { 142 // use the user specified compiler 143 i += 1; 144 if ( i == argc ) continue; // next argument available ? 145 compiler_path = argv[i]; 146 if ( putenv( (char *)( *new string( string( "__U_COMPILER__=" ) + argv[i]) ).c_str() ) != 0 ) { 147 cerr << argv[0] << " error, cannot set environment variable." << endl; 148 exit( EXIT_FAILURE ); 149 } // if 141 150 142 151 // C++ specific arguments
Note: See TracChangeset
for help on using the changeset viewer.