[LLVMdev] --enable-shared doesn't build shared library any more

NAKAMURA Takumi geek4civic at gmail.com
Wed Aug 17 05:26:13 PDT 2011


Yuri, on which host?

2011/8/17 Yuri <yuri at rawbw.com>:
> In r134967 it still worked, and in r137742 it now doesn't.
> I used such flags: --enable-assertions --enable-shared --enable-libffi
> --enable-debug-runtime --enable-debug-symbols --disable-optimized
>
> Before build would create directory tools/llvm-shlib under the build
> tree. Now it is missing.

In my attempt on x86_64-linux, enable-shared works.

...Takumi


$ ./config.status --version
llvm config.status 3.0svn
configured by ../../llvm-project/llvm/configure, generated by GNU Autoconf 2.60,
  with options "'-C' '--enable-optimized'
'--prefix=/home/chapuni/BUILD/install-llvm' '--enable-targets=all'
'CC=gcc44' 'CXX=g++44' '--with-optimize-option=-O3 -Werror'
'--enable-shared'"

$ ls -l Release+Asserts/bin
-rwxrwxr-x 1 chapuni chapuni   111392 Aug 17 21:14 llc
-rwxrwxr-x 1 chapuni chapuni    86080 Aug 17 21:14 lli
-rwxrwxr-x 1 chapuni chapuni   189193 Aug 17 21:14 opt

$ ls -l Release+Asserts/lib
-rwxrwxr-x 1 chapuni chapuni 28950534 Aug 17 21:13 libLLVM-3.0svn.so



More information about the llvm-dev mailing list