[LLVMdev] -fPIC warning on every compile on Cygwin
Jay Foad
jay.foad at gmail.com
Fri Feb 27 08:24:56 PST 2009
> Could you please rig Makefile.rules or something to print out the value
> of $(LLVM_ON_WIN32) ? The only way I can think of this happening is if
> that's erroneously false.
The configure script sets LLVM_ON_UNIX, not LLVM_ON_WIN32, for Cygwin:
case $host in
...
*-*-cygwin*)
llvm_cv_link_all_option="-Wl,--whole-archive"
llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
llvm_cv_os_type="Cygwin"
llvm_cv_platform_type="Unix" ;;
case $llvm_cv_platform_type in
Unix)
cat >>confdefs.h <<\_ACEOF
#define LLVM_ON_UNIX 1
_ACEOF
LLVM_ON_UNIX=1
LLVM_ON_WIN32=0
;;
Jay.
More information about the llvm-dev
mailing list