Displaying 3 results from an estimated 3 matches for "llvm_cygwin3".
2011 Sep 14
0
[LLVMdev] LLVMHello pass compile error under Cygwin
Graham, good morning.
To build LLVMHello on cygming, you should configure llvm with --enable-shared .
Even with enable-shared, you might build lib/Transforms/Hello manually.
(yeah, on cygming, LLVMHello should depend on tools/llvm-shlib)
And, you'd be better to build with --enable-optimized.
With enable-shared, llvm-shlib tends to fail with too many debug symbols.
HTH, ...Takumi
2011 Sep 15
2
[LLVMdev] LLVMHello pass compile error under Cygwin
Thankyou Takumi,
Without --enable-optimized I get a"File too big" error from the linker:
...
llvm[1]: Linking all LLVMLibs together for LLVM-3.0svn
/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld:
/cygdrive/c/Users/Graham/home/projects/llvm_cygwin3/tools/llvm-shlib/Debug+Asserts/LLVM-3.0svn.a.o:
too many sections (59747)
/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld:
final link failed: File too big
collect2: ld returned 1 exit status
make[1]: *** [/cygdrive/c/Users/Graham/home/projects/llvm_cygwin3/tools/llvm-shlib
/Debu...
2011 Sep 14
2
[LLVMdev] LLVMHello pass compile error under Cygwin
I've built LLVM/Clang from svn under Cygwin on Windows 7. I'd like to
build on the LLVMHello pass example, however, when I try:
$ cd $LLVM/lib/Transforms/Hello
$ make
I receive a large number of errors which start with:
llvm[0]: Linking Debug+Asserts Loadable Module LLVMHello.dll
/cygdrive/c/Users/Graham/home/projects/llvm_cygwin/lib/Transforms/Hello/Debug+Asserts/Hello.o:
In function