From: earnie_boyd@yahoo.com (Earnie Boyd)
Subject: Re: dll, java, gcc, cygwin
25 Oct 1998 17:54:00 -0800
Message-ID: <19981025143634.29840.rocketmail.cygnus.gnu-win32@send1e.yahoomail.com>
Reply-To: earnie_boyd@yahoo.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
To: Mumit Khan <khan@xraylith.wisc.edu>, Andrew Mickish <mickish@cmu.edu>
Cc: Glen Fullmer-EGF002 <Glen_Fullmer-EGF002@email.mot.com>,
        gnu-win32@cygnus.com

---Mumit Khan <khan@xraylith.wisc.edu> wrote:
>
> On Thu, 22 Oct 1998, Andrew Mickish wrote:
> 
> > It might be related to name mangling.  Try adding .def aliases in
your larger
> > example.  I have to supply aliases in a .def file like the
following for every native
> > method I export from the DLL:
> > 
> >      EXPORTS
> >     
Java_HelloWorld_displayHelloWorld=Java_HelloWorld_displayHelloWorld@8
> >      dll_entry@12
> > 
> 
> Here's a proposal: how about I add a --add-stdcall-alias to dlltool
which
> essentially produce the following:
> 
>       EXPORTS
>      
Java_HelloWorld_displayHelloWorld=Java_HelloWorld_displayHelloWorld@8
>       Java_HelloWorld_displayHelloWorld@8
> 
> When creating .def file using ``dlltool --output-def''. Would this
solve 
> the problem? Note that I'm keeping the original symbol as well, but
we 
> could always get rid of that too.
> 

Please, group them together for ease of spliting the file, i.e.:

ThisFunc=ThisFunc@8
ThatFunc=ThatFunc@8
ThisFunc@8
ThatFunc@8


==
-                  \\||//
-------------o0O0--Earnie--0O0o--------------
--          earnie_boyd@yahoo.com          --
-- http://www.freeyellow.com/members5/gw32 --
----------------ooo0O--O0ooo-----------------

PS: Newbie's, you should visit my page.
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com

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