delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/07/06/17:41:37

From: iverson AT lionheart DOT com (Tim Iverson)
Subject: Re: MSVC linker
6 Jul 1997 17:41:37 -0700 :
Sender: mail AT cygnus DOT com
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <m0wl1Gy-000SUaC.cygnus.gnu-win32@lionheart.com>
Original-To: pjm AT rbd DOT com (Paul J. Metzger)
Original-Cc: gnu-win32 AT cygnus DOT com
In-Reply-To: <Pine.LNX.3.91.970706180123.16490A-100000@thunder.rbd.com> from "Paul J. Metzger" at Jul 6, 97 06:09:44 pm
X-Mailer: ELM [version 2.4 PL25]
MIME-Version: 1.0
Original-Sender: owner-gnu-win32 AT cygnus DOT com

This is a copy of a mailing re: linking without LD for b17, perhaps it will
help you link with MSVC.  The patch fixes a format incompatibility between
addresses in GNU b17 (and b18?) objects and true Microsoft PE objects. 


- Tim Iverson
  iverson AT lionheart DOT com


+----------------
| Date: Sun, 6 Jul 1997 18:09:44 -0400 (EDT)
| From: "Paul J. Metzger" <pjm AT rbd DOT com>
| To: gnu-win32 AT cygnus DOT com
| Subject: MSVC linker
| 
| I've browsed through the mailing archives and all the documentation
| I could find, but still haven't been able to figure out how to get
| code compiled under the GNU Win32 environment to work with code 


+----------------
| From: Tim Iverson <iverson AT cisco DOT com>
| Subject: Linking without ld
| To: gnu-win32 AT cygnus DOT com
| Date: Thu, 3 Apr 1997 17:47:24 -0800 (PST)
| 
| 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 (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