Displaying 3 results from an estimated 3 matches for "60cda8a2".
2009 Feb 27
0
[LLVMdev] -fPIC warning on every compile on Cygwin
>> 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.
This works for me:
Index: Makefile.rules
===================================================================
--- Makefile.rules (revision 65633)
+++ Makefile.rules (working copy)
@@ -298,6
2009 Feb 27
3
[LLVMdev] -fPIC warning on every compile on Cygwin
> 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"
2009 Feb 27
4
[LLVMdev] -fPIC warning on every compile on Cygwin
...-fPIC
> CXX.Flags += -fPIC
Jay, thanks I will try this.
Does it also deal with the lib/Transforms/Hello build failure ?
Many thanks,
Aaron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090227/60cda8a2/attachment.html>