On Thu, Jun 20, 2002 at 02:51:58PM +0200, Ruurd Reitsma wrote: > in order to satisfy my perverse desire to run lyx on M$ Windows, I've put > together a couple of wrappers for the POSIX calls in lyx, which are missing > in the win32 api. This enables lyx to be compiled using the mingw > (http://www.mingw.org) environment and run without cygwin.
don't you still need cygwin for xforms / X11 ? Where has this code come from ? Some of it lacks license information. If we do this, and this code has come from some library, I'd rather depend on that library rather than introduce this code into LyX. I'd much rather make a "fatter" library that does what we really want to do, rather than emulate UNIX API on Windows - otherwise we run the risk of differing semantics for the functions; I doubt kill() emulation is exactly the same as UNIX semantics, for one. For example instead of emulating fork() (I thought windows had no equivalent ??) I'd rather provide a suitably altered ForkedcallsController that does the right thing. Don't get me wrong: it'd be cool to see win32 better supported, but I'm unsure about the maintainability of such an approach. What do others think ? > As the qt2 port nears completion, it would be fun to use the free > non-commercial qt2 for windows. Unfortunately, that library is only > distributed as a msvc 6 binary. In order to use it with lyx, lyx has to be > compiled with msvc or the intel compiler. Both the msvc6 compiler & the STL > that comes along with it suck, so it's quite hard to get lyx to compile. I > got very far with the intel compiler, but I'm still getting c++ related link > time errors (which I don't understand...) Anyway, I'll try again when I have > the time. A pity ... > The posix wrappers are not very well tested and need some more work. Besides > that, a couple of path name issues have to be solved. I tried to make it as > less 'invasive' as possible, but the patch still contains a lot of ugly > #ifdef's. Although it's probably rather bit-rotted we should still have /some/ support for EMX left. I don't know how useful that is, being a win32 newbie ... regards john