From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Stern To: cygwin@sourceware.cygnus.com Subject: Seg fault in _size_of_stack_reserve__ () Date: Tue, 24 Aug 1999 15:52:00 -0000 Message-id: <19990824230149.2523.rocketmail@web1404.mail.yahoo.com> X-SW-Source: 1999-08/msg00628.html This is the latest chapter in my struggle with Windows DLLs. I combined the advice of Mumit Khan (use dllwrap) with that of Paul Sokolovsky (link your static libraries into one DLL), with the result that I can finally build a DLL. My thanks to both of you. My DLL consists of two files, static link library libntonly.a and "DLL proper" ntonly.dll. BTW, I had to put ntonly.dll in the directory that holds my executables. I couldn't get either -rpath or LD_RUN_PATH to work. But never mind. That's minor. What's major is what happens when I run the program. I call a function, it enters a `for' loop and I die in _size_of_stack_reserve__(). Anyone got an explanation? Other clues: `nm' says that both the executable and ntonly.dll know the above symbol, as well as a __size_of_heap_reserve__. Each file says the symbols are type 'A' and they agree on their addresses. === -- Opinions expressed above are not necessarily my employer's. James M. Stern ITG Inc. Culver City, CA (213) 270-7955 __________________________________________________ Do You Yahoo!? Bid and sell for free at http://auctions.yahoo.com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Stern To: cygwin@sourceware.cygnus.com Subject: Seg fault in _size_of_stack_reserve__ () Date: Tue, 31 Aug 1999 23:49:00 -0000 Message-ID: <19990824230149.2523.rocketmail@web1404.mail.yahoo.com> X-SW-Source: 1999-08n/msg00628.html Message-ID: <19990831234900.J77rhCCseoLdVVgwyCkplb45vxEHBJ7T1ujZ_untcUI@z> This is the latest chapter in my struggle with Windows DLLs. I combined the advice of Mumit Khan (use dllwrap) with that of Paul Sokolovsky (link your static libraries into one DLL), with the result that I can finally build a DLL. My thanks to both of you. My DLL consists of two files, static link library libntonly.a and "DLL proper" ntonly.dll. BTW, I had to put ntonly.dll in the directory that holds my executables. I couldn't get either -rpath or LD_RUN_PATH to work. But never mind. That's minor. What's major is what happens when I run the program. I call a function, it enters a `for' loop and I die in _size_of_stack_reserve__(). Anyone got an explanation? Other clues: `nm' says that both the executable and ntonly.dll know the above symbol, as well as a __size_of_heap_reserve__. Each file says the symbols are type 'A' and they agree on their addresses. === -- Opinions expressed above are not necessarily my employer's. James M. Stern ITG Inc. Culver City, CA (213) 270-7955 __________________________________________________ Do You Yahoo!? Bid and sell for free at http://auctions.yahoo.com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com