Comment #7 on issue 108 by
jhu...@gmail.com: Support Windows x64
http://code.google.com/p/data-race-test/issues/detail?id=108
I installed Cygwin and I'm trying the 32-bit make, but it isn't finding
pin.H. I wonder if it's because the cl command is using /I instead of -I.
Here's the make command and output, with an "ls" at the bottom to show that
pin.H is really there.
$ make -C tsan -j4 VALGRIND_ROOT= PIN_ROOT=/cygdrive/e/pin w32d
make: Entering directory `/cygdrive/e/tsanv1/tsan'
make all OS=windows ARCH=x86 DEBUG=1
make[1]: Entering directory `/cygdrive/e/tsanv1/tsan'
VALGRIND_ROOT is not set. Not building the Valgrind-based variant.
cl -nologo -c -Zi -MT -EHs- -EHa- -wd4530 -D_CRT_SECURE_NO_DEPRECATE
-D_SECURE_SCL=0 -D_HAS_ITERATOR_DEBUGGING=0 -Gy -Ox -GL
/I/cygdrive/e/pin/source/include /I/cygdrive/e/pin/source/include/gen
/I/cygdrive/e/pin/extras/xed2-ia32/include /DTARGET_WINDOWS
/DBIGARRAY_MULTIPLIER=1 /DUSING_XED /DTARGET_IA32 /DHOST_IA32a
/D_SECURE_SCL=0 -DTS_PIN=1 -Fobin/x86-windows-debug-pinmp-ts_pin.obj -c
ts_pin.cc -DTS_VERSION=\"0\" -DDEBUG=1 -I../dynamic_annotations
-DTS_SERIALIZED=0
ts_pin.cc
ts_pin.cc(32) : fatal error C1083: Cannot open include file: 'pin.H': No
such file or directory
Makefile:253: recipe for target `bin/x86-windows-debug-pinmp-ts_pin.obj'
failed
make[1]: *** [bin/x86-windows-debug-pinmp-ts_pin.obj] Error 2
make[1]: Leaving directory `/cygdrive/e/tsanv1/tsan'
Makefile:145: recipe for target `w32d' failed
make: *** [w32d] Error 2
make: Leaving directory `/cygdrive/e/tsanv1/tsan'
$ ls /cygdrive/e/pin/source/include
compiler_version_check2.H level_core.PLH pin.H
pin_profile.H pin-errtype.h
foundation.PLH level_foundation.PLH pin_basic.h
pin_ucontext.h pintool.exp
gen level_pinclient.PLH pin_cache.H
pin_util.H pintool.ver
level_base.PLH level_vmapi.PLH pin_isa.H
pinapp.h portability.H