Re: Is there a Windows version of SableVM?
Andy Madigan <[email protected]>
| Newsgroups | gmane.comp.java.vm.sablevm.general |
|---|---|
| Message-ID | <[email protected]> |
--- "Grzegorz B. Prokopski" <[email protected]> wrote: > W li¶cie z nie, 05-09-2004, godz. 22:18, Andy Madigan pisze: > > The only free VM I've been able to find for Windows is gij (via the > > mingw version of gcj). I tried to build SableVM in cygwin, but > while I > > Great! We got SableVM working under Cygwin so it is possible. > Not all changes have been merged though. That version is at > > svn://svn.sablevm.org/developers/mlord/sandbox > > > was able to get it to recognize libpopt, the build failed because > of > > (apparently) missing file called fficonfig.h. As I understand it, > the > > Last time we got to conclusion that Cygwin does not ship ffi*.h > files, > so you simply copy them from your Linux box or source distribution of > gcc. The next thing you need is libffi compiled as a .dll. Here > also > cygwin does not provide you with .dll for libffi, so you need to > compile > it on your own. > > See also discussion about windows support in SableVM here: > > http://sourceforge.net/mailarchive/message.php?msg_id=6972226 > > > native libs for the Classpath won't build under cygwin, but I was > > Yes, they will. Last time we made a shortcut and we disabled gtk > peer > support, but if you had .dlls with needed gtk libraries (you might > need > to compile them first) - it should be possible. > > > hoping someone might know a way to get it to work, or perhaps tell > me > > of a free Windows VM. > > The other option would be to get for ex. MSVC compiler and compile > SableVM with it to get truly native port of SableVM. Nobody has done > it yet, but SableVM has been compiled with Intel compiler, and > SableVM > has been written in a way as not to excersise any compiler-specific > features, so it should not be much harder than maybe writing separate > makefiles for Windows/MSVC. We would also be very happy to help you > on > our sablevm-devel mailing list if you took that route. > > Feel free to ask more questions, we'll do our best to help you. > > Cheers, > > Grzegorz B. Prokopski > > BTW: What is the purpose you want to use a Free JVM under Windows > for? > > -- > Grzegorz B. Prokopski <[email protected]> > Debian GNU/Linux http://www.debian.org > SableVM - LGPL'ed Java VM http://www.sablevm.org > Why SableVM ?!? http://devel.sablevm.org/wiki/Features > > > _______________________________________________ > SableVM-user mailing list > [email protected] > http://sablevm.org/lists/control/listinfo/sablevm-user > I have several reasons for wanting a free VM. First, I'd like to be able to test code without compiling under gcj first. I know that gcj + classpath aren't identical, but that's still better than hoping that code that runs under Sun's J2SE 142 would work, or even compile. I also want to make sure that my code (a web server, for one part) is not somehow linux-only, or specific to a particular VM. Also, while I'm not sure how big SableVM is, I can't think of a reason that it would be as big as Sun's JVM. Note: I dual boot Debian Sid and WinXP, where might I find the ffi files on sid, will I need them if I get checkout from subversion? Please list exactly what steps you took, and whether you think they would work on MinGW (more than willing to test them myself). Of course, MinGW might cause problems (no bash), but --mno-cygwin might work. P.S. There's one last reason for a free vm on windows, I use windows because I'm too lazy to set up a cross-compiler from sid, but I still prefer free software as a matter of principle, so I never install anything non-free (other than windows itself, and usually Sun's JVM) on my system. Here are my available build-envs: MinGW w/ gcj + gcj 3.5 and GNU Make (a little difficult to find, but it's there). Cygwin w/ gcc + gcj 3.3. Debian Sid w/ gcc + gcj 3.3 and 3.4. =====