-
Notifications
You must be signed in to change notification settings - Fork 16
/
build_win_dbg.sh
executable file
·29 lines (27 loc) · 1.15 KB
/
build_win_dbg.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/sh
# NOTE: -gdwarf-2 needed for my version of wine to recognize the symbols.
x86_64-w64-mingw32-gcc -D__USE_MINGW_ANSI_STDIO=0 \
-Wall -Wextra -Werror \
-Wpointer-arith -Wshadow \
-Wno-unknown-warning-option -Wno-address-of-packed-member \
-Wl,--disable-dynamicbase,--image-base 0x00400000 \
-g -gdwarf-2 -o beebjit.exe \
main.c config.c bbc.c defs_6502.c state.c video.c via.c \
emit_6502.c interp.c inturbo.c state_6502.c sound.c timing.c \
jit_compiler.c jit_metadata.c cpu_driver.c \
jit_optimizer.c jit_opcode.c keyboard.c \
teletext.c render.c mc6850.c serial_ula.c \
log.c test.c adc.c cmos.c joystick.c \
tape.c tape_csw.c tape_uef.c \
intel_fdc.c wd_fdc.c \
disc_drive.c disc.c ibm_disc_format.c disc_tool.c \
disc_fsd.c disc_hfe.c disc_ssd.c disc_adl.c \
disc_rfi.c disc_kryo.c disc_scp.c disc_dfi.c \
debug.c expression.c jit.c \
util.c util_string.c util_container.c util_compress.c \
os.c \
asm/asm_abi.c asm/asm_tables.c asm/asm_util.c \
asm/asm_common.c asm/asm_common.S \
asm/asm_inturbo.c asm/asm_inturbo.S \
asm/asm_jit.c asm/asm_jit.S \
-lgdi32 -lwinmm