Browse Source

Increase memory limit.

Giovanni Mascellani 5 years ago
parent
commit
d660e0f0a5
3 changed files with 4 additions and 2 deletions
  1. 1 1
      .travis.yml
  2. 1 1
      README.md
  3. 2 0
      diskfs/run_tcc.c

+ 1 - 1
.travis.yml

@@ -17,4 +17,4 @@ addons:
 script:
 - mkdir build
 - make build/boot_asmg.x86
-- qemu-system-i386 -hda build/boot_asmg.x86 -serial stdio -device isa-debug-exit -display none | ./test/decode_tests.py
+- qemu-system-i386 -hda build/boot_asmg.x86 -serial stdio -device isa-debug-exit -display none -m 256M | ./test/decode_tests.py

+ 1 - 1
README.md

@@ -32,7 +32,7 @@ You should use Linux to compile `asmc`, although some parts of it can
 also be built on macOS. If you use Debian, install the prerequisites
 with
 
-    sudo apt-get install build-essential nasm qemu-system-x86 grub-common python3 gcc-multilib
+    sudo apt-get install build-essential nasm qemu-system-x86 grub-common python3 gcc-multilib -m 256M
 
 If you cloned the GIT repository, you will probably want to checkout
 the submodules as well:

+ 2 - 0
diskfs/run_tcc.c

@@ -200,7 +200,9 @@ int main(int argc, char *argv[]) {
     return recursively_compile();
 }
 
+//#if LEVEL == 0
 #define USE_SOFTFLOAT 1
+//#endif
 #define ONE_SOURCE 1
 
 #include "libtcc.c"