This is the mail archive of the 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 Peters -- colin at
-- Saga University Dept. of Information Science

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

From: <>
To: <>
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
>several simple examples from the web page. Should have 'just worked'.
>I get a 'illegal write access' or something to that effect when a run the
>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

For help on using this list (especially unsubscribing), send a message to
"" 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]