This is the mail archive of the cygwin@cygwin.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] |
Other format: | [Raw text] |
see bottom ----- Original Message ----- From: "Armin Diehl" <diehl at nordrhein dot de> To: <cygwin at cygwin dot com> Sent: Friday, April 18, 2003 9:18 AM Subject: dll creation
i tried a small sample and i always get a protection fault in cygwin1.dll if i call the funtion in the dll:
#include <stdio.h>
int hello () { printf ("hello\n"); }
gcc -c test.c gcc -shared -o test.dll test.o
will create the dll. If hello is called, i get a protection fault in cygwin1.dll at 000C8C81, Read of address 00000144.
I already updated everything today. This happens on xp. Is there some kind of init needed ? (Btw, the calling program does not use the cygwin
dll)
gcc --verion: gcc (GCC) 3.2 20020927 (prerelease) ld -V: GNU ld version 2.13.90 20030308
-- 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/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |