gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNUstep on Cygwin


From: Fred Kiefer
Subject: Re: GNUstep on Cygwin
Date: Sun, 07 Dec 2003 03:48:05 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030821

Adam Fedor wrote:

On Saturday, December 6, 2003, at 10:26 AM, Fred Kiefer wrote:

The current discussion about GNUstep on Windows made me curious, so I started up my XP and downloaded cygwin. This has improved much over the past year, they now have support for objc and if you install the gcc for java you even get libffi. So I tried to use this directly and make and base where easy to compile, as every needed package was already included. But I was to optimistic here, as things compiled, but did not work, which only showed up at the end of the compilation of gui. Something is broken in base, as even simple programms as plparse.exe complain that the cannot find the class NSProcessInfo. As this is the first class loaded from the gnustep-base.dll I expect that this DLL cannot be loaded for some reason. There is no clue of the cause, but based on previous experiance with windows I would expect that some required DLL cannot be loaded. So I only have to find out which one, and here I am stuck. Does anybody have an idea on how to investigate into this? I remember having tools on my old machine that did show he exports and imports of DLLs. But this was so long ago that I don't have any memory where this did come from.



I and others had problems similar to this a long time ago with the gnustep-gui library. It turned out the real problem was in improperly packaged/dll'd tiff library. You might look at the dlls that base depends on (maybe libffi?). I can't point to anything in particular that was wrong about the tiff library. We just used a different package from another source and things just started working.

I'd try a suggestion I made previously - use the window's installer and then checkout core and recompile. Works fine for me.

Hi Adam,

the windows installer wont do in that case as it is for a MinGW system. It did turn out that the problem was that Cygwin only provides a static build obj library, so I had to build one as a DLL myself. After this base and gui compiled fine and seem to work. So we should prepare just this file for Cygwin users and try to convince the Cygwin maintainers to provide it themselves. I am now struggleing to get back compile as it insistes to compile xlib. The problem seems to be the X installation that comes with Cygwin. I will have to force the winlib evironment. It looks a bit strange to me that the system automatically detects that it has to build a window server, so it uses win32, but tries o combine this with xlib. But I think this can be resolved with the correct configure switches, which I have to look up.

Cheers
Fred





reply via email to

[Prev in Thread] Current Thread [Next in Thread]