Re; Visibility of compiler symbols between executables and DLLs
Danny Smith
dannysmith@clear.net.nz
Mon Sep 26 10:43:00 GMT 2005
Nick Glencross wrote:
> On many platforms compilation symbols in an executable are not made
> visible to its Shared Library/DLLs by default, but this can often be
> overridden with a compiler flag to change the policy. My question in a
> nutshell then is whether cygwin has the ability to have a DLL access a
> global variable within the executable that loads it? As an obvious
> follow on, if yes, then how do you go about doing it?
>
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/samples/dlltest/?c
vsroot=src
has an old example (ca 1998). You can find more recent examples, using
'gcc -shared' rather than dlltool, in
cygwin archives.
Danny
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list