Differences From Artifact [32b60048e1]:
- File
src/runtime/Makefile
— part of check-in
[ddb1f5a3c5]
at
2018-05-05 18:14:05
on branch trunk
— runtime: Omit the linklib subdir on !AmigaOS
Even when no STATIC_LIB is specified (as is the case on !AmigaOS),
dependencies are still generated, causing an error during dependency
generation on !AmigaOS due to missing headers. (user: js, size: 1760) [annotate] [blame] [check-ins using]
To Artifact [846f7565d8]:
- File
src/runtime/Makefile
— part of check-in
[482698c5be]
at
2018-05-06 21:39:06
on branch trunk
— runtime: Make Amiga library work with -fbaserel
This currently uses __saveds on all exported functions for simplicity.
As an optimization, __saveds can be removed from some functions later
after careful verification that no code path starting from that function
accesses any data. (user: js, size: 1780) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
56 57 58 59 60 61 62 | -DOBJFW_RT_LIB_MINOR=${OBJFW_RT_LIB_MINOR} AMIGA_LIB_CFLAGS += -DOBJC_COMPILING_AMIGA_LIBRARY LD = ${OBJC} FRAMEWORK_LIBS = ${LIBS} # For 68000, GCC emits calls to helper functions that expect a4 to be set. # Remove this once the library is using -fbaserel. | | | | 56 57 58 59 60 61 62 63 64 | -DOBJFW_RT_LIB_MINOR=${OBJFW_RT_LIB_MINOR} AMIGA_LIB_CFLAGS += -DOBJC_COMPILING_AMIGA_LIBRARY LD = ${OBJC} FRAMEWORK_LIBS = ${LIBS} # For 68000, GCC emits calls to helper functions that expect a4 to be set. # Remove this once the library is using -fbaserel. AMIGA_LIB_CFLAGS += -mcpu=68020 -fbaserel AMIGA_LIB_LDFLAGS += -mcpu=68020 -fbaserel -nostdlib -lnix |