|
From: | Richard Frith-Macdonald |
Subject: | Fwd: GNUstep under mingw |
Date: | Thu, 7 Mar 2002 07:44:46 +0000 |
Begin forwarded message:
From: Richard Frith-Macdonald <richard@brainstorm.co.uk> Date: Thu Mar 07, 2002 06:15:47 AM Europe/London To: Fred Kiefer <fredkiefer@gmx.de> Subject: Re: GNUstep under mingw On Thursday, March 7, 2002, at 12:11 AM, Fred Kiefer wrote:I am running GNUstep with mingw and there are a few problems left. First you hae to use the cygwin make (/usr/bin/make) otherwise the common.make file gives an error as it tests the $PATH variable to include the GNUSTEP_SYSTEM_ROOT/Tools directory. For this to work also the environment variable GNUSTEP_TARGET_OS has to be set to mingw32, which is not mentioned in the README.mingw.I read about that somewhere ... I thought it was in README.MinGWYou should also download a iconv library, gnustep base runs without one, but it will be needed later on. (BTW Why do we run without iconv, but need libxml2?)We don't need either ... I'm running under mingw without libxml.Where did you find iconv for windoze? Is there anything we need to know about installing it? We should add it to the README. We should also find out aboutinstalling libxml and add that to the README too.Even after solving all this there is a problem when compiling the Testing code of base:
<snip>
shared_obj/ix86/mingw32/gnu-gnu-gnu/benchmark.o: In function `bench_object'://c/users/kiefer/GNUstep/core/base/Testing/../Headers/Foundation/NSZone. h: 178: undefined reference to `__nszone_private_hidden_default_zone' //c/users/kiefer/GNUstep/core/base/Testing/../Headers/Foundation/NSZone. h: 178: undefined reference to `__nszone_private_hidden_default_zone' //c/users/kiefer/GNUstep/core/base/Testing/../Headers/Foundation/NSZone. h: 178: undefined reference to `__nszone_private_hidden_default_zone' //c/users/kiefer/GNUstep/core/base/Testing/../Headers/Foundation/NSZone. h: 178: undefined reference to `__nszone_private_hidden_default_zone' //c/users/kiefer/GNUstep/core/base/Testing/../Headers/Foundation/NSZone. h: 178: undefined reference to `__nszone_private_hidden_default_zone' shared_obj/ix86/mingw32/gnu-gnu- gnu/benchmark.o://c/users/kiefer/GNUstep/core/base/Testing/../Headers/Foundation/NSZone.h:178: more undefined references to `__nszone_private_hidden_default_zone' follow make[1]: *** [shared_obj/ix86/mingw32/gnu-gnu-gnu/benchmark.exe] Error 1make: *** [benchmark.all.test-tool.variables] Error 2This lloks like we need to export more than just the classes from our DLL. Has anybody else faced this problem and how could it be resolved?I ran across that problem at one point while I was messing about with this stuff ... but a rebuild/re-install of the library made the problem go away again. I guessed that under windoze the library needs to be installed before you can build executables ... but as theproblem only happened to me once I never tested that guess.
[Prev in Thread] | Current Thread | [Next in Thread] |