[LLVMdev] .so file creation for new passes on Visual Studio

陳韋任 chenwj at iis.sinica.edu.tw
Mon Aug 15 23:20:41 PDT 2011


> I was trying to run an already build LLVM-pass ( the Hello world ) on Visual
> Studio. I could locate the The Hello world pass sources in
> llvm/lib/Transform/Hello/*.But when I compiled llvm using the command "cmake -G
> "Visual Studio 10" ..\llvm" , I couldn't find the LLVMHello.so file in
> "build_directory/Debug/lib/LLVMHello.so" neither in
> "build_directory/Release/lib/LLVMHello.so".Someone please help me in running
> this Hello world pass.

  IIRC, LLVM cannot produce shared library on Windows.

Regards,
chenwj

-- 
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667




More information about the llvm-dev mailing list