Changeset 6ce3ae9 for src/main.cc


Ignore:
Timestamp:
Jun 26, 2017, 11:06:15 AM (7 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
c038214
Parents:
74e58ea3
Message:

move builtins to gcc-builtins

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main.cc

    r74e58ea3 r6ce3ae9  
    186186                if ( ! nopreludep ) {                                                   // include gcc builtins
    187187                        // -l is for initial build ONLY and builtins.cf is not in the lib directory so access it here.
    188                         FILE * builtins = fopen( libcfap | treep ? "../prelude/builtins.cf" : CFA_LIBDIR "/builtins.cf", "r" );
    189                         assertf( builtins, "cannot open builtins.cf\n" );
    190                         parse( builtins, LinkageSpec::Compiler );
     188                        FILE * gcc_builtins = fopen( libcfap | treep ? "../prelude/gcc-builtins.cf" : CFA_LIBDIR "/gcc-builtins.cf", "r" );
     189                        assertf( gcc_builtins, "cannot open gcc-builtins.cf\n" );
     190                        parse( gcc_builtins, LinkageSpec::Compiler );
    191191
    192192                        // read the extra prelude in, if not generating the cfa library
Note: See TracChangeset for help on using the changeset viewer.