bugGNUstep - Bugs: bug #26055, correct LD flags to pass to the...

 
 

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

bug #26055: correct LD flags to pass to the linker for cygwin

Submitted by:  Riccardo Mottola <rmottola>
Submitted on:  Mon 30 Mar 2009 10:28:49 PM UTC  
 
Category: MakefilesSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Thu 17 Sep 2009 09:01:45 AM UTC, comment #1:

I think this has been fixed by the recent Cygwin patches.

Riccardo, can you confirm and close the issue ? :-)

Thanks!

Nicola Pero <nico>
Project Member
Mon 30 Mar 2009 10:28:49 PM UTC, original submission:

When linking with cygwin, enable-import needs to be specificed explictely. Since we use gcc, we need to add :
-Wl,--enable-auto-import

to the gcc invocation at the linking stage or we get warnings.

Unfortunately removignt he warnings is not enough: when running I still get:

multix@moria /cygdrive/k/gnustep_dev/modules/core/base/Tools
$ make_strings.exe
objc runtime: cannot find class NSAutoreleasePool
Aborted (core dumped)

multix@moria /cygdrive/k/gnustep_dev/modules/core/base/Tools
$ plmerge.exe
objc runtime: cannot find class NSProcessInfo
Aborted (core dumped)

the classes mentioned here are exactly those about which the linker complained at before the correct flag. But no clues for that.

Riccardo Mottola <rmottola>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by nico (Posted a comment)
  • -unavailable- added by rmottola (Submitted the item)
  •  

    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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 18 Sep 2009 08:02:17 PM UTCrmottolaStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Tue 31 Mar 2009 10:15:17 PM UTCrmottolaSummarycorrect LD flags to pass to the linger for cygwin=>correct LD flags to pass to the linker for cygwin

    Back to the top


    Powered by Savane 3.1-cleanup1