Skip to content
  • grischka's avatar
    macos: yet another tbd adjustment · eadcee65
    grischka authored
    configure:
    - re-enable apple M1-arm64
    - however, with --cpu=x86_64,  set -arch in CFLAGS/LDFLAGS too
      (assume rosetta)
    
    Makefile:
    - re-enable osx cross-test (Please do not disable tests)
    
    tcc.h
    - set TCC_IS_NATIVE for TCC_TARGET_MACHO on __APPLE__
    - apply TCC_USING_DOUBLE_FOR_LDOUBLE for x86_64-osx
    
    libtcc.c:
    - cleanup tcc_add_file_internal()
    - new function char *tcc_load_text(int fd); and use it for tbd files
    eadcee65