g++ linking shared object problem

2008-06-05 Thread stamen
Hi, I link a program to a shared library (which I created before). From the library I just use one class. The linking seems to work. However the final executable seems to be corrupt. It just starts and stops without an error message. However even print statements which are in the code are

Re: g++ linking shared object problem

2008-06-05 Thread Brian Dessent
[EMAIL PROTECTED] wrote: gdb: unknown target exception 0xc135 at 0x7c974ed1 It's not corrupt in any way, 0xc135 is simply STATUS_DLL_NOT_FOUND. If you run it outside of Cygwin from a regular command prompt you will see a popup message about missing DLL. You just need to adjust your

Re: g++ linking shared object problem

2008-06-05 Thread Christopher Faylor
On Thu, Jun 05, 2008 at 01:31:17PM -0700, Brian Dessent wrote: [EMAIL PROTECTED] wrote: gdb: unknown target exception 0xc135 at 0x7c974ed1 It's not corrupt in any way, 0xc135 is simply STATUS_DLL_NOT_FOUND. If you run it outside of Cygwin from a regular command prompt you will see a