This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: problems with building a dll with the b18 package


I believe the cygwin.dll does not like being relocated (at least some
others I have talked to say their problems went away when they managed to
fix it so cygwin.dll wasn't relocated). Try setting the base address of
your dll somewhere else or forcing cygwin.dll to be loaded first by
putting explicit -lcygwin before the fooB.a (your DLL's import library) on
your link line. That might work (or might not...).

Colin.

-- Colin Peters -- colin at fu.is.saga-u.ac.jp
-- Saga University Dept. of Information Science
-- http://www.fu.is.saga-u.ac.jp/~colin
-- http://www.geocities.com/Tokyo/Towers/6162

-----Original Message-----

From: Daphne69@aol.com <Daphne69@aol.com>
To: gnu-win32@cygnus.com <gnu-win32@cygnus.com>
Date: Friday, November 28, 1997 11:18 AM
Subject: problems with building a dll with the b18 package


>I'm trying to build a dll with the cynwin32 environment. I've tried using
the
>several simple examples from the web page. Should have 'just worked'.
However
>I get a 'illegal write access' or something to that effect when a run the
>results.
>
>I've tried both the relocatable and non-relocateable versions. When I use
>gdb, the dll seems to load. However at some point it fails in a console
>initialization
>routine.
[snip]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]