Przeglądaj źródła

* compile math (and sysutils as a a dependency) unit on m68k-embedded, resolves #33068
* some more features having only minimal impact on memory requiremets and needed for math/sysutils enabled on m68k-embedded

git-svn-id: trunk@38092 -

florian 7 lat temu
rodzic
commit
7d1d91e9cc
3 zmienionych plików z 17 dodań i 0 usunięć
  1. 3 0
      rtl/embedded/Makefile
  2. 5 0
      rtl/embedded/Makefile.fpc
  3. 9 0
      rtl/embedded/system.cfg

+ 3 - 0
rtl/embedded/Makefile

@@ -440,6 +440,9 @@ endif
 ifeq ($(ARCH),x86_64)
 CPU_SPECIFIC_COMMON_UNITS=sysutils math classes fgl macpas typinfo types rtlconsts getopts lineinfo
 endif
+ifeq ($(ARCH),m68k)
+CPU_SPECIFIC_COMMON_UNITS=sysutils math
+endif
 ifeq ($(ARCH),mipsel)
 CPU_SPECIFIC_COMMON_UNITS=sysutils math classes fgl macpas typinfo types rtlconsts getopts lineinfo
 ifeq ($(SUBARCH),pic32mx)

+ 5 - 0
rtl/embedded/Makefile.fpc

@@ -158,6 +158,11 @@ CPU_SPECIFIC_COMMON_UNITS=sysutils math classes fgl macpas typinfo types rtlcons
 # CPU_UNITS=multiboot
 endif
 
+ifeq ($(ARCH),m68k)
+CPU_SPECIFIC_COMMON_UNITS=sysutils math
+# CPU_UNITS=multiboot
+endif
+
 ifeq ($(ARCH),mipsel)
 CPU_SPECIFIC_COMMON_UNITS=sysutils math classes fgl macpas typinfo types rtlconsts getopts lineinfo
 ifeq ($(SUBARCH),pic32mx)

+ 9 - 0
rtl/embedded/system.cfg

@@ -191,6 +191,15 @@
 -SfEXCEPTIONS
 -SfCLASSES
 -SfRTTI
+-SfANSISTRINGS
+-SfWIDESTRINGS
+-SfDYNARRAYS
+-SfTHREADING
+-SfVARIANTS
+-SfOBJECTS
+-SfCOMMANDARGS
+-SfRANDOM
+-SfRESOURCES
 #endif
 
 # Minimal set for i8086, copied from AVR above