URL:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=12244>
Summary: gstep-make on Windows doesn't make libs/tools link
against Foundation
Project: GNUstep
Submitted by: None
Submitted on: Mon 03/07/2005 at 19:12
Category: Makefiles
Severity: 5 - Average
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
_______________________________________________________
Details:
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).
_______________________________________________________
This item URL is:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=12244>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep