discuss-gnustep
[Top][All Lists]
Advanced

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

Re: GNUstep on win32: compile and link issues


From: Helge Hess
Subject: Re: GNUstep on win32: compile and link issues
Date: Tue, 8 Mar 2005 01:12:47 +0100

Hi Nicola,

On 2. Mrz 2005, at 01:17 Uhr, Nicola Pero wrote:
Yes -- I'm working on the building infrastructure for win32! :-)

Tomorrow I'll do another small chunk.

just tried to build libSaxObjC using the Windows installer and the latest snapshot of gstep-make. Apparently gstep-make forgets to add -lFoundation or -lgstep-base when being on Windows?
---snip---
gcc -shared -Wl,--out-implib,./shared_obj/libSaxObjC.dll.a -o ./shared_obj/SaxObjC.dll shared_obj/SaxAttributeList.o shared_obj/SaxAttributes.o shared_obj/SaxDefaultHandler.o shared_obj/SaxException.o shared_obj/SaxHandlerBase.o shared_obj/SaxLocator.o shared_obj/SaxMethodCallHandler.o shared_obj/SaxNamespaceSupport.o shared_obj/SaxObjectDecoder.o shared_obj/SaxObjectModel.o shared_obj/SaxXMLFilter.o shared_obj/SaxXMLReaderFactory.o -L././shared_obj -L../SaxObjC/./shared_obj -Lc:/GNUstep/Library/Libraries -Lc:/GNUstep/Local/Library/Libraries -Lc:/GNUstep/System/Library/Libraries -lobjc
---snap---

This gives a lot of linking errors due to Foundation symbols not being found.

Another annoying thing is that if the link above fails, the .dll file is still created. A subsequent make will claim that everything is perfect (because a file exists). Maybe the makefile needs to check whether the build was OK and otherwise explicitly delete the target file (on Windows).

https://savannah.gnu.org/bugs/index.php?func=detailitem&item_id=12244

Greets,
  Helge
--
http://docs.opengroupware.org/Members/helge/
OpenGroupware.org





reply via email to

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