delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/08/11/16:49:37

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>,
<http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <19990811204715.2537.qmail@hotmail.com>
X-Originating-IP: [151.13.75.164]
From: "Emanuele ALIBERTI" <ealiberti AT hotmail DOT com>
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: binutils development snapshot binaries [Re: Dlls @n symbols ]
Date: Wed, 11 Aug 1999 13:47:14 PDT
Mime-Version: 1.0

>Well, since you're willing to deal with experimental code, pick up my
>precompiled mingw/cygwin binutils binaries, currently based on 1999-08-08
>CVS + small local changes [omissis]

Thank you for the binaries!

I tested them with egcs 1.1.2 and gcc 2.95 but the result is the same.

It may be either my DEF files are wrong, or ld does not see the forwarded 
symbols.

In short, I have something like the following

IMPORTS
RtlReallocateHeap AT 16=NTDLL.RtlReAllocateHeap
EXPORTS
HeapReAlloc=RtlReallocateHeap AT 16

After understanding that STDCALL name decoration applies also to imported 
symbols and aliases' origins, I did get no more the ld error message 
"unresolved HeapReAlloc AT 16". But now I get a new message: "unresolved 
RtlReallocateHeap AT 16" (and I link with ntdll.a...).

Well, the DEF syntax seems correct now (I have a doubt about alising in the 
IMPORTS section), but I can not understand what's missing during linking. 
Yes some more experimenting is needed, since may be simply a mistake by me 
(also tested linking with the same exports object for the library I am 
building).

-e-


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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