Changeset 7c8246d


Ignore:
Timestamp:
Aug 31, 2019, 4:00:19 PM (5 years ago)
Author:
Peter A. Buhr <pabuhr@…>
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:
0bf5340, 3315e3d
Parents:
33c849e
Message:

revert library path versus bprefix to locate cfa-cpp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • driver/cc1.cc

    r33c849e r7c8246d  
    1010// Created On       : Fri Aug 26 14:23:51 2005
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Fri Aug 30 12:47:39 2019
    13 // Update Count     : 380
     12// Last Modified On : Fri Aug 30 15:36:42 2019
     13// Update Count     : 377
    1414//
    1515
     
    3333
    3434
    35 static string library_path( CFA_LIBDIR );                               // cfa-cpp path
    3635static string compiler_path( CFA_BACKEND_CC );                  // C compiler path/name
    3736static bool CFA_flag = false;                                                   // -CFA flag
     
    431430
    432431        if ( fork() == 0 ) {                                                            // child runs CFA
    433 //              if ( bprefix != library_path ) { cerr << bprefix << " " << library_path << endl; abort(); }
    434                 cargs[0] = ( *new string( library_path + "cfa-cpp" ) ).c_str();
     432                cargs[0] = ( *new string( bprefix + "cfa-cpp" ) ).c_str();
    435433                cargs[ncargs++] = cpp_in;
    436434
Note: See TracChangeset for help on using the changeset viewer.