Re: [Sablevm-user] Cygwin Compile Problems
Brought to you by:
egagnon
From: Etienne G. <gag...@uq...> - 2004-05-06 23:37:57
|
In fact, Melanie Lord got SableVM to work under Cygwin. Her "raw" work is in he sandbox: svn ls svn://svn.sablevm.org/developers/mlord/sandbox I have incorporated, latelym the most important part of it into the staging branch (i.e. not using lt_dlopen(NULL) for internal VM calls), but there were some additional minor changes required to get sablevm and sablevm-classpath to work on cygwin. The thing is, all is left to do is to integrate these changes "cleanly" in sablevm[-classpath], so that we don't break the build on other platforms. Etienne On Wed, May 05, 2004 at 06:24:25PM -0400, David B?langer wrote: > > Hi, > > SableVM 1.1.3 does not have Cygwin support... > > Some code necessary to get it work on Cygwin has been merged in the > development version (called the staging version). I am not sure if the > code is sufficient yet to have SableVM compile out-of-the-box on that > platform but it is one step closer. > > So, I would recommend that you obtain SableVM development tree (staging > branch): > http://devel.sablevm.org/wiki/Getting > Note that this will require to have subversion as well as the > automake/autoconf tools. > You can also get a daily snapshot here: http://devel.sablevm.org/shot/ > > We are working improving the configuration to autodetect if -lrt is > needed. Meanwhile, with a staging version, it can be fixed by removing > -lrt in src/libsablevm/Makefile.am and running ./autogen.sh then > ./configure etc. > > > David > > On Wed, May 05, 2004 at 09:59:16PM +0100, Antony Baxter wrote: > > Hi, > > > > I'm trying to compile SableVM 1.1.3 on Cygwin. I got > > the > > sablevm-classpath-1.1.3 package to compile ok with > > only minimal changes, > > but am having problems compiling sablevm-1.1.3. It > > compiles fine up to: > > > > gcc -g -O2 -Wall -fno-gcse -Wno-unused > > -fno-strict-aliasing -o > > sablevm.exe sablevm.o ../libsablevm/.libs/libsablevm.a > > -lpthread > > /usr/lib/./libffi.a /usr/lib/libltdl.dll.a -lrt > > /usr/lib/libpopt.dll.a > > > > which fails with: > > > > sablevm.o(.text+0x1d97): In function `main': > > /home/jon/src/sable/sablevm-1.1.3/src/sablevm/sablevm.c:1351: > > undefined > > reference to `_JNI_CreateJavaVM' > > Info: resolving _poptHelpOptions by linking to > > __imp__poptHelpOptions > > (auto-import) > > collect2: ld returned 1 exit status > > <thread /usr/lib/./libffi.a /usr/lib/libltdl.dll.a > > -lrt > > /usr/lib/libpopt.dll.a > > /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ld: > > > > cannot find -lrt > > collect2: ld returned 1 exit status > > > > I'm using Cygwin 1.5.9-1 & gcc 3.3.1. Anyone got any > > ideas? > > > > Thanks, > > > > Antony > > > > > > > > > > > > > > ____________________________________________________________ > > Yahoo! Messenger - Communicate instantly..."Ping" > > your friends today! Download Messenger Now > > http://uk.messenger.yahoo.com/download/index.html > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by Sleepycat Software > > Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to > > deliver higher performing products faster, at low TCO. > > http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 > > _______________________________________________ > > Sablevm-user mailing list > > Sab...@li... > > https://lists.sourceforge.net/lists/listinfo/sablevm-user > > -- > > --- > > David B?langer > Graduate Student > School of Computer Science > McGill University > Office: MC226 > > Web page: http://www.cs.mcgill.ca/~dbelan2/ > Public key: http://www.cs.mcgill.ca/~dbelan2/public_key.txt > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Sleepycat Software > Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to > deliver higher performing products faster, at low TCO. > http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 > _______________________________________________ > Sablevm-user mailing list > Sab...@li... > https://lists.sourceforge.net/lists/listinfo/sablevm-user -- Etienne M. Gagnon, Ph.D. http://www.info.uqam.ca/~egagnon/ SableVM: http://www.sablevm.org/ SableCC: http://www.sablecc.org/ |