From: Bernhard B. <ma...@ba...> - 2004-06-06 10:55:49
|
Hi David, it seems to be impossible that a non-cygwin win32-binary (in this case java.exe) can load a cygwin-dll. There are numerous threads on this issue on the cygwin mailing-list. I managed to compile, but as soon as it loads, it barfs. If you want to put some work into it: there is a pure Java implementation of readline called jline (I don't have the link right now, but I think it is on Sourceforge). It should probably be only a matter of a wrapper class to use jline as a backing library for JavaReadline. I will certainly don't have any time to work on this issue before automn. The getline.dll was compiled with a native C compiler. You might try to download the MS-compiler (I read that it is freely available, the IDE not included) and try to compile it. Please tell me about any results. Thanks, Bernhard > Bernhard, > > I'm hoping you can point me to in the right direction. I'm very > interested in getting JavaReadline working on win32. However, using > Cygwin to compile JRL 0.8.0 against Readline 4.2 doesn't seem to work. > Actually, I've tried numerous combinations of MinGW's Win32 Readline > Port 4.1 -> 4.2 and your JRL 0.7.2 -> 0.8.0. > > What I'm wondering is there any known combination of JavaReadline > working against any known port of GNU Readline for win32? If so, can > you let me know where to acquire it? If there isn't, then do you know > if anyone has gotten Getline to work with Windows XP? The dll provided > in the contrib dir doesn't work in WinXP and I also was unsuccessful in > getting Getline to compile on Cygwin/WinXP. > > Thanks in advance for your help. I've been using your library on Linux > for the past year. Thanks bringing a great component to the Java > community! ;-) > > Regards, > Dave > > --------------------------------- > David Esmond > Dorado Corporation > desk: 650-227-7413 > mobile: 415-215-5454 > yim/aim: twopisquared |