MSVC 7.1 (cl 13.10.3077) under Wine, PE/COFF matcher with relocation verification, side-by-side diff, progress, Ghidra-seeded symbol map (15,323 functions), and the first three matched functions (/O1). Co-Authored-By: Claude Opus 5.5 <[email protected]>
11 lines
463 B
Bash
Executable File
11 lines
463 B
Bash
Executable File
#!/bin/sh
|
|
# Run MSVC 7.1 (cl 13.10.3077) under Wine.
|
|
# Usage: tools/cl.sh <cl args...> (paths may be POSIX; they're passed through winepath-free via Z:)
|
|
ROOT=$(cd "$(dirname "$0")/.." && pwd)
|
|
MSVC="$ROOT/tools/msvc7.1"
|
|
[ -x "$MSVC/Bin/cl.exe" ] || { echo "MSVC 7.1 not found in $MSVC (run tools/setup.sh)" >&2; exit 1; }
|
|
export WINEDEBUG=-all
|
|
export INCLUDE="Z:$(echo "$MSVC/Include" | tr / '\\')"
|
|
export PATH_MSVC="$MSVC/Bin"
|
|
exec wine "$MSVC/Bin/cl.exe" "$@"
|