Raymond Toy pushed to branch arm-dev at cmucl / cmucl

Commits:

2 changed files:

Changes:

  • src/lisp/Config.arm_linux
    ... ... @@ -105,6 +105,11 @@ OPENLIBM_SRCS = \
    105 105
     	$(OPENLIBM_DIR)/s_tanhf.c
    
    106 106
     endif
    
    107 107
     
    
    108
    +# We're currently building cmucl on a Raspberry Pi5 running a 64-bit
    
    109
    +# raspbian.  We had to download the arm32 compiler and libraries to be
    
    110
    +# able to build and run cmucl.
    
    111
    +CC = arm-linux-gnueabihf-gcc
    
    112
    +
    
    108 113
     ifeq ($(filter 2% 3%, $(shell $(CC) -dumpversion)),)
    
    109 114
     CPP_INCLUDE_OPTIONS := -iquote . -iquote $(PATH1)
    
    110 115
     ifndef FEATURE_CORE_MATH
    
    ... ... @@ -130,7 +135,7 @@ ASSEM_SRC = arm-assem.S undefineds-assem.S
    130 135
     OS_SRC += Linux-os.c os-common.c elf.c
    
    131 136
     OS_LIBS = -ldl -lutil
    
    132 137
     OS_LINK_FLAGS = -marm -rdynamic -Wl,-Map,foo -Wl,-z,noexecstack
    
    133
    -CFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
    
    138
    +CFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DDEFINE_C_COMPILER=$(CC)
    
    134 139
     
    
    135 140
     EXEC_FINAL_OBJ = exec-final.o
    
    136 141
     
    

  • src/lisp/elf.h
    ... ... @@ -34,7 +34,7 @@
    34 34
      */
    
    35 35
     #if defined(__SUNPRO_C)
    
    36 36
     #define C_COMPILER "cc"
    
    37
    -#else
    
    37
    +#elif !defined(C_COMPILER)
    
    38 38
     #define C_COMPILER "gcc"
    
    39 39
     #endif
    
    40 40