Himanshu Shekhar
2011-Aug-16 05:06 UTC
[LLVMdev] .so file creation for new passes on Visual Studio
Hi! 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.
> 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
Hi, Sorry, my bad. Loadable module is available on Windows, but is not built with MSVC. Try MinGW instead. Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667
Himanshu Shekhar
2011-Aug-17 11:00 UTC
[LLVMdev] .so file creation for new passes on Visual Studio
Hey chenwj, Thanks for the reply.Actually, I tried Cygwin to get things work on windows.Any idea how does it compare with MinGW? On Wed, Aug 17, 2011 at 6:43 AM, 陳韋任 <chenwj at iis.sinica.edu.tw> wrote:> Hi, > > Sorry, my bad. Loadable module is available on Windows, but is not built > with MSVC. Try MinGW instead. > > Regards, > chenwj > > -- > Wei-Ren Chen (陳韋任) > Computer Systems Lab, Institute of Information Science, > Academia Sinica, Taiwan (R.O.C.) > Tel:886-2-2788-3799 #1667 >-- Regards, *HIMANSHU SHEKHAR* Junior Undergraduate CSE , IIT Delhi -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110817/c36e318a/attachment.html>