Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/driver/cfa.cc

    r53ba273 r4c82a3c  
    1010// Created On       : Tue Aug 20 13:44:49 2002
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed Apr  6 14:04:22 2016
    13 // Update Count     : 132
     12// Last Modified On : Fri Jun 10 09:26:19 2016
     13// Update Count     : 138
    1414//
    1515
     
    7575        string langstd;                                                                         // language standard
    7676
    77         string compiler_path( GCC_PATH );                                       // path/name of C compiler
     77        string compiler_path( CFA_BACKEND_CC );                         // path/name of C compiler
    7878        string compiler_name;                                                           // name of C compiler
    7979
     
    263263        args[nargs] = ( *new string( string("-D__CFA_PATCHLEVEL__=") + Patch ) ).c_str();
    264264        nargs += 1;
    265         args[nargs] = "-D__CFORALL__=1";
     265        args[nargs] = "-D__CFA__";
     266        nargs += 1;
     267        args[nargs] = "-D__CFORALL__";
    266268        nargs += 1;
    267269
     
    272274
    273275        if ( CFA_flag ) {
    274                 args[nargs] = "-D__CFA__";
     276                args[nargs] = "-D__CFA_PREPROCESS_";
    275277                nargs += 1;
    276278        } // if
     
    310312                        nargs += 1;
    311313                } // if
     314                args[nargs] = "-fgnu89-inline";
     315                nargs += 1;
    312316                args[nargs] = ( *new string( string("-B") + Bprefix + "/" ) ).c_str();
    313317                nargs += 1;
     
    315319                nargs += 1;
    316320        } else {
    317                 cerr << argv[0] << " error, compiler " << compiler_name << " not supported." << endl;
     321                cerr << argv[0] << " error, compiler \"" << compiler_name << "\" unsupported." << endl;
    318322                exit( EXIT_FAILURE );
    319323        } // if
Note: See TracChangeset for help on using the changeset viewer.