Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Help to build SWT JNI libraries
Help to build SWT JNI libraries [message #502839] Wed, 09 December 2009 16:03 Go to next message
Yura is currently offline Yura
Messages: 4
Registered: July 2009
Junior Member
Hi. I need to build JNI libraries under win x86_64 platform as was said in FAQ:

http://eclipse.org/swt/faq.php#howbuilddll

I've got some questions:

1) Which versions of compilers I can use? I want to make an attempt with vc 9 integrated with MVS 2008, does it suit?

2) In build.bat file I've found next line in :x86_64 section:

call %MSSDK%\setenv /X64 /RETAIL

I suppose that in this line we try to call setenv function using setenv.bat from WDK (http://msdn.microsoft.com/en-us/library/ms792423.aspx), don't we?

3) Which win platform can I use for it? Will everything be alright if I use Windwo XP x64?

Thanks.

[Updated on: Wed, 09 December 2009 16:28]

Report message to a moderator

Re: Help to build SWT JNI libraries [message #503092 is a reply to message #502839] Thu, 10 December 2009 10:22 Go to previous message
Grant Gayed is currently offline Grant Gayed
Messages: 2148
Registered: July 2009
Senior Member
SWT uses "Windows Server 2003 SP1 SDK" to compile its Windows libraries for
x86_64. This SDK is available from microsoft as a free download, so I think
your easiest path is to just get it and try it. I'm sure that VC9 could be
used as well, but this may require making some changes in make_win32.mak.

setenv is setenv.cmd, which ships with the SDK. It sets up your environment
for compiling.

Grant


"Yura" <yzhishko@exadel.com> wrote in message
news:hfp3bn$rg3$1@build.eclipse.org...
> Hi. I need to build JNI libraries under win x86_64 platform as was said in
FAQ:
>
> http://eclipse.org/swt/faq.php#howbuilddll
>
> I've got some questions:
>
> 1) Which versions of compilers I can use? I want to make an attempt with
vc 9 integrated with MVS 2008, does it suit?
>
> 2) In build.bat file I've found next line in :x86_64 section:
>
> call %MSSDK%\setenv /X64 /RETAIL
>
> I suppose that in this line we try to call setenv function using
setenv.bat from WDK (http://msdn.microsoft.com/en-us/library/ms792423.aspx),
don't we?
>
> Thanks.
Previous Topic:Tree.setTopItem fails?
Next Topic:Odd difference in TableViewer between Carbon and Cocoa (OSX)
Goto Forum:
  


Current Time: Thu Aug 21 16:15:17 EDT 2014

Powered by FUDForum. Page generated in 0.02115 seconds