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]

cygwin.dll



I'm using gnu-win32 for my JNI native libs (if anyone wants info on
how to do this let me know) and the VM is calling my functions all
right but if I try to use a cygwin function (like printf for instance)
I get a seg fault.  Of course I have MSVC++ installed so its
brain-dead debugger pops up showing me where in cygwin.dll I seg
faulted (yes, I included stdio.h).  I'm not an expert on assembly code
but it looks to be the 3-4 instructions of the printf function (if
posting the relevant assembly from the MSCV++ debugger would be
beneficial let me know).

The printf line is merely:

    printf("Hi\n");

I'm using b18.

So my question is how do I debug this?  I create the dll using the
"How to create a relocatable dll" instructions off the gnu-win32 page
if that helps.  Thanks in advance,

-- 
Tommy Reilly                   
DEC StorageWorks                 
treilly@osfsrv.shr.dec.com       
(508) 841-3676
-
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]