delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/04/08/11:26:14

From: simon AT octanttech-nospam DOT com (Simon Tuffs)
Subject: ld -r (relocatable link)
8 Apr 1998 11:26:14 -0700 :
Message-ID: <352A9273.8ACDDDB3.cygnus.gnu-win32@octanttech-nospam.com>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

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.

For those interested, we need the relocatable object modules so we can
link together code which would otherwise declare duplicate functions
(with conflicting parameter types).  By pre-linking the individual
modules before the final link we ensure that there are no symbol
conflicts at final link time.

--
Simon Tuffs
Systems Architect
Octant Technologies Inc

(remove -nospam from return address to reply by mail).


-
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