c0e157e3b2
One must build yasm (included in the yasm directory) before building GMP, if building on an x86_64 machine. Note: make test and make tune do not currently build.
20 lines
459 B
Batchfile
20 lines
459 B
Batchfile
cd ..\..\..
|
|
@echo off
|
|
reg query HKCR\Python.File\shell\open\command >nul: 2>&1
|
|
goto answer%errorlevel%
|
|
:answer0
|
|
echo ... building with Python ...
|
|
@echo on
|
|
modules\arch\x86\gen_x86_insn.py
|
|
@echo off
|
|
goto end
|
|
:answer1
|
|
echo ... building without Python ...
|
|
goto end
|
|
:end
|
|
@echo on
|
|
%1 x86insn_nasm.gperf x86insn_nasm.c
|
|
%1 x86insn_gas.gperf x86insn_gas.c
|
|
%1 modules\arch\x86\x86cpu.gperf x86cpu.c
|
|
%1 modules\arch\x86\x86regtmod.gperf x86regtmod.c
|