www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/04/09/05:40:29

From: ian AT cygnus DOT com
Subject: Re: ld -r (relocatable link)
9 Apr 1998 05:40:29 -0700 :
Message-ID: <199804081930.PAA05692.cygnus.gnu-win32@tweedledumb.cygnus.com>
References: <352A9273 DOT 8ACDDDB3 AT octanttech-nospam DOT com>
To: simon AT octanttech DOT com
Cc: gnu-win32 AT cygnus DOT com

In gnu-win32 simon AT octanttech DOT com (Simon Tuffs) writes:

>The GNU-WIN32 linker (ld) appears to be unable to perform relocatable
>linking, and when faced with an object module built that way, it
>crashes.  I have seen others on this group comment that ld -r is not
>supported, and I was wondering was there a technical reason, or
>otherwise.  I need this capability, and I will be happy to implement it
>if I can, and if others can help me get started.  I am currently working
>around the problem by using the archiver to build archives rather than
>relinkable object modules.

Although cygwin32 ld -r does not work in the cygwin32 b19 release, I
believe that it will work in the GNU binutils 2.9 release, thanks in
part to patches contributed by Thomas de Lellis.  binutils 2.9 should
be available within a week or so, and you should be able to build it
under b19.  This code will presumably be included in the cygwin32 b20
release, but that probably won't happen any time soon.

Ian
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019