Change the compiler's big integer library to use libTomMath

This now replaces Bill's crappy big int implementation
This commit is contained in:
gingerBill
2021-07-11 16:08:16 +01:00
parent ebcabb8a27
commit 460e14e586
171 changed files with 10745 additions and 1155 deletions
+12 -3
View File
@@ -46,7 +46,7 @@ if %release_mode% EQU 0 ( rem Debug
set compiler_warnings= ^
-W4 -WX ^
-wd4100 -wd4101 -wd4127 -wd4189 ^
-wd4100 -wd4101 -wd4127 -wd4146 -wd4189 ^
-wd4201 -wd4204 ^
-wd4456 -wd4457 -wd4480 ^
-wd4512
@@ -70,10 +70,19 @@ set linker_settings=%libs% %linker_flags%
del *.pdb > NUL 2> NUL
del *.ilk > NUL 2> NUL
cl %compiler_settings% "src\main.cpp" /link %linker_settings% -OUT:%exe_name%
cl %compiler_settings% "src\main.cpp" "src\libtommath.c" /link %linker_settings% -OUT:%exe_name%
rem cl %compiler_settings% "src\main.cpp" /link %linker_settings% -OUT:%exe_name%
if %errorlevel% neq 0 goto end_of_build
if %release_mode% EQU 0 odin run examples/demo/demo.odin
odin run examples/demo
rem odin run examples/bug -show-more-timings -threaded-checker
rem odin check examples/demo -threaded-checker
rem odin build examples/demo
rem odin run examples/demo -threaded-checker
rem odin run examples/bug -show-more-timings
rem if %release_mode% EQU 0 odin check examples/bug -show-more-timings
rem if %release_mode% EQU 0 odin check examples/bug
del *.obj > NUL 2> NUL