dotgnu-libjit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Dotgnu-libjit] Help needed to collect intructions about how tobuild


From: GARCIA DE SORIA LUCENA, JUAN JESUS
Subject: RE: [Dotgnu-libjit] Help needed to collect intructions about how tobuild libJIT for Windows XP, Windows Vista platform, and Visual Studio <\eom>
Date: Thu, 30 Apr 2009 09:50:04 +0200

Reposting to proper mailing list...


Hi. 

> -----Original Message-----
> From: 
> address@hidden
> [mailto:address@hidden
> org] On Behalf Of Kirill Kononenko

> Please may someone give ready instructions in this mailing list or in 
> libjit-linear-scan-register-allocator wiki on how build a standalone 
> package of libJIT for Windows platform?
> Preferably accessible for Visual Studio even.

We do use the C interface of libjit from Microsoft Visual Studio 2005 in
C++.

We had to use MSYS (http://www.mingw.org/wiki/msys) and MinGW to compile
a Windows native version of the "libjit.dll". You may have to fiddle
with autotools versions until it works. The C++ interface won't work
since the C++ name mangling differs from MinGW/gcc to MSVC++.

As an additional required step, you'll need to ask ld to generate .exp
files (via the --output-def option) that can then be used to generate a
.lib for MSVC++. The .a files generated by default wouldn't work for me
(see http://sourceware.org/bugzilla/show_bug.cgi?id=6758; not my bug
report, but the same issue).


Best luck,

   Juan Jesus.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]