Re: Building under Cygwin

2013-08-10 Thread Ivan Vučica
Hi all, apart from patching the objc-load.m part, I also patched some portions that do with launching processes. All of the attempts at mixing MinGW-style loading with Cygwin-based code seem very messy, and in the end I'm not absolutely sure it was necessary: Cygwin has some issues with fork()

Re: Building under Cygwin

2013-08-10 Thread Fred Kiefer
Great that you could get GNUstep working again on Cygwin. The call to /bin/rebaseall belongs somewhere into the target.make file of GNUstep make. Anybody with more insight should place it there. As for the objc-load.m patch I think that your change is fine and should be applied, but more work is

Re: Building under Cygwin

2013-08-10 Thread David Chisnall
On 10 Aug 2013, at 14:59, Fred Kiefer fredkie...@gmx.de wrote: The call to /bin/rebaseall belongs somewhere into the target.make file of GNUstep make. Anybody with more insight should place it there. On Win16 and Win32 (but not Win64), DLLs are not position-independent code and are expected

Re: Building under Cygwin

2013-08-10 Thread Ivan Vučica
Hi all, I have committed some changes to objc-load.m and to NSPathUtilities.m that are needed to run Calculator without errors and warnings, respectively. On Sat, Aug 10, 2013 at 4:09 PM, David Chisnall david.chisn...@cl.cam.ac.uk wrote: On 10 Aug 2013, at 14:59, Fred Kiefer fredkie...@gmx.de

Re: Building under Cygwin

2013-08-09 Thread David Chisnall
If you have time to look at libobjc2 under Windows, I'd be grateful for someone with Windows dev experience to take a look. There's some basic support there, but it's not really very good, and I don't think it will actually build on Windows. I can provide advice, but don't have a Windows

Re: Building under Cygwin

2013-08-09 Thread Riccardo Mottola
Hi, Ivan Vučica wrote: Hello all, I'm trying to build GNUstep Base under Cygwin. So far, I've done the following I attempted to get GS working on cygwin several times. This would have quite some advantages: cygwin is ubiquitous, also, and this would be the main advantage, you can use both

Building under Cygwin

2013-08-08 Thread Ivan Vučica
Hello all, I'm trying to build GNUstep Base under Cygwin. So far, I've done the following cd gnustep/core/make ./configure --enable-debug-by-default --with-layout=gnustep --prefix=/GNUstep make make install cd - . /GNUstep/System/Library/Makefiles/GNUstep.sh cd gnustep/core/base ./configure

Re: Building under Cygwin

2013-08-08 Thread Ivan Vučica
Alright, I ended up doing a bit more of playing with this. Looks like skipping Cygwin and interacting directly with Win32, just like it's done under MinGW, works. I don't like the following patch one bit, though. The include doesn't seem to belong here, and I think dlopen()/dladdr() code should

Re: Building under Cygwin

2013-08-08 Thread Gregory Casamento
Ivan, Just FYI... GNUstep under Cygwin was abandoned in favor of MiNGW since it didn't seem to make sense to maintain two implementations of the frameworks on Windows. GC On Thu, Aug 8, 2013 at 7:11 PM, Ivan Vučica i...@vucica.net wrote: Hello all, I'm trying to build GNUstep Base under

Re: Building under Cygwin

2013-08-08 Thread Ivan Vučica
Hi Gregory, Alright, thanks for the warning -- in case something big doesn't work, I won't be surprised. I'm treating Cygwin as a UNIX setup, and intend to use the build I get solely with X11. That means as little playing with Windows stuff as possible, at this point. I'm only trying this