| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-Spam-Check-By: | sourceware.org |
| From: | stamen AT kip DOT uni-heidelberg DOT de |
| Message-ID: | <48484762.2080209@kip.uni-heidelberg.de> |
| Date: | Thu, 05 Jun 2008 22:06:58 +0200 |
| User-Agent: | Thunderbird 2.0.0.14 (Windows/20080421) |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | g++ linking shared object problem |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
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 not executed. This looks like the executable itself is corrupt.
When running gdb I get:
gdb: unknown target exception 0xc0000135 at 0x7c974ed1
Program exited with code 030000000465
You can't do that without a process to debug
Are there any ideas of what might have gone wrong? The creation of the
shared library also did not show any problem.
Cheers,
Rainer
--
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |