discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Building under Cygwin


From: Ivan Vučica
Subject: Re: Building under Cygwin
Date: Fri, 9 Aug 2013 01:46:11 +0200

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 because I'll be spending some time in Windows and would like to easily work on Opal backend at the same time.

I definitely agree that MinGW is the way to go -- in my case, I need something to develop for UNIX without booting the Linux installation, or installing yet another VM under an OS I rarely use.

So far, the installation is going well -- GNUstep Base has now installed, and once I passed --disable-jpeg, -gui is also installing.

On Friday, August 9, 2013, Gregory Casamento wrote:
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 <ivan@vucica.net> wrote:
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 --with-ffi-include=/usr/lib/libffi-3.0.13/include --disable-icu --disable-libdispatch
make

I've disabled ICU simply because I'm connecting over a metered connection, and 15mb+ is just a bit too much for me to install right now.

I've disabled libdispatch because its presence was incorrectly detected by configure; header called 'dispatch.h' exists in Cygwin's /usr/include/w32api/, which is enough to trigger an attempted inclusion of this file by GSDispatch.h.

I'm having trouble with the following though:

 Compiling file objc-load.m ...
objc-load.m: In function ‘GSPrivateSymbolPath’:
objc-load.m:299:32: error: request for member ‘category_name’ in something not a structure or union
objc-load.m:313:46: error: request for member ‘class_name’ in something not a structure or union
objc-load.m:314:25: error: request for member ‘class_name’ in something not a structure or union
objc-load.m:316:40: error: request for member ‘category_name’ in something not a structure or union
objc-load.m:317:25: error: request for member ‘category_name’ in something not a structure or union
/GNUstep/System/Library/Makefiles/rules.make:468: recipe for target `obj/libgnustep-base.obj/objc-load.m.o' failed

I'm using the GCC and the GCC runtime, since they come with Cygwin and I don't feel like playing with getting Clang (or, even worse, compiling it). I'm not installing libobjc2, at least not until the GCC-only setup works... GCC is 4.7.3.

$ gcc --version | head -n1
gcc (GCC) 4.7.3

Tips?




--
Ivan Vučica


_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep




--
Gregory Casamento
Open Logic Corporation, Principal Consultant
yahoo/skype: greg_casamento, aol: gjcasa
(240)274-9630 (Cell)
http://www.gnustep.org
http://heronsperch.blogspot.com


--
Ivan Vučica
ivan@vucica.net


reply via email to

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