www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/06/08/23:20:07

From: Stefan DOT Riemer AT bauing DOT uni-weimar DOT de (Stefan Riemer)
Subject: How could I make a .def file from c++-object-files (per hand)?
8 Jun 1998 23:20:07 -0700 :
Message-ID: <199806082122.XAA11894.cygnus.gnu-win32@tigger.scc.uni-weimar.de>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

I like to know the format of a .def file (for building a dll), if I 
have c++-code. This means, how can I print the classes, members, etc.
Can I also make the .def file per sed-command? How? And last, if I 
make it with the instructions for relocatable dll from the website, I 
get a .a file (it should only contain the stubs to functions in the 
dll) that is bigger then the archive that is created by ar and 
contains all the code as well.

PS: relocatable dll doesn't work, it gives a segmentation fault to 
the application, but if it is loaded just before cygwinb19.dll and 
the cygwinb19.dll is relocated, then everything works fine. It seems 
the relocation is not handled good

PS2: Its a try to port kde (some parts work, kfm doesnt, if I link 
static)

Thats all folks,
               STEFan
-
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