delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/04/03/22:37:34

From: iverson AT cisco DOT com (Tim Iverson)
Subject: Linking without ld
3 Apr 1997 22:37:34 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199704040147.RAA20438.cygnus.gnu-win32@rottweiler.cisco.com>
Mime-Version: 1.0
Original-To: gnu-win32 AT cygnus DOT com
X-Mailer: ELM [version 2.4 PL25]
Original-Sender: owner-gnu-win32 AT cygnus DOT com

I've applied this patch and it does indeed allow one to link objects
produced by GCC with a different linker than LD.  I used Phar-Lap's
linker, but I suspect this fix would also be sufficient for others.

Thanks Sean!


- Tim Iverson
  iverson AT cisco DOT com


+----------------
| From: sean AT mcneil DOT com (Sean McNeil)
| To: gnu-win32 AT cygnus DOT com, iverson AT cisco DOT com
| Subject: RE: Nobody in the world understands Gnu's 'ld'.
| Date: Tue, 25 Mar 1997 21:59:46 -0800
| 
| Try the following:
| 
| *** gas/config/obj-coff.c~      Wed Dec 31 16:01:33 1969
| --- gas/config/obj-coff.c       Sun Mar 23 14:20:52 1997
| ***************
| *** 3176,3183 ****
| --- 3176,3185 ----
|       {
|         long size;
| 
| + #ifndef TE_PE
|         segment_info[i].scnhdr.s_paddr = addr;
|         segment_info[i].scnhdr.s_vaddr = addr;
| + #endif
| 
|         if (segment_info[i].scnhdr.s_name[0])
|         {

-
For help on using this list, 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