[LLVMdev] [cfe-dev] Undefined reference cross-compiling shared llvm/clang for mingw

NAKAMURA Takumi geek4civic at gmail.com
Tue Aug 2 04:02:04 PDT 2011


Abramo, it must be the query for llvmdev, not for cfe-dev.

2011/7/28 Abramo Bagnara <abramo.bagnara at gmail.com>:
> ../llvm-r136065/configure --host=i586-mingw32msvc
> --enable-targets=host-only --disable-jit --enable-bindings=none
> --enable-shared --disable-threads --disable-pthreads
> --disable-assertions --disable-optimized

I added --enable-shared for cygming a year ago.
Anyway, I don't understand what happens to you.

Lemme know;

  - Which distro are you using?
  - The version of mingw32-objdump and mingw32-ld.
  - Please try combination of "--enable-optimized" "--disable-embed-stdcxx".

...Takumi



More information about the llvm-dev mailing list