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

 
 

You are not allowed to post comments on this tracker with your current authentication level.

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

Submitted by:  None
Submitted on:  Tue 08 Mar 2005 12:12:02 AM UTC  
 
Category: MakefilesSeverity: 3 - Normal
Item Group: BugStatus: None
Privacy: PublicAssigned to: Nicola Pero <nico>
Open/Closed: Closed

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>
Project MemberIn charge of this item.
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

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Thu 10 Mar 2005 06:12:30 PM UTCnicoAssigned toNone=>nico
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1