bugGNUstep - Bugs: bug #12244, gstep-make on Windows doesn't make...

Group
 
 

bug #12244: gstep-make on Windows doesn't make libs/tools link against Foundation

Submitter:  None
Submitted:  Tue 08 Mar 2005 12:12:02 AM UTC
   
 
Category:  Makefiles Severity:  3 - Normal
Item Group:  Bug Status:  None
Privacy:  Public Assigned to:  nico
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 10 Mar 2005 06:12:30 PM UTC, comment #1: 

I confirm this was a problem ... yesterday I prepared a test library and it didn't link because of this problem.

To fix this I added code to gnustep-make to try and link every library against all base libraries ... so GCC should found the dll import libraries and be able to do its job.

It works for me, I didn't try libSaxObjC though.

If you do, please follow the instructions on

http://mediawiki.gnustep.org/index.php/Installation_on_Windows

Thanks

Nicola Pero <nico>
Group Member
Tue 08 Mar 2005 12:12:02 AM UTC, original submission:  

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).

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-03-10 nico Assigned toNone nico
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.13-758e.
Corresponding source code