From: Steven Shaw <steven_shaw@iprimus.com.au>
To: elathan@phys.uoa.gr
Cc: linux-c-programming@vger.kernel.org
Subject: Re: mixing C/C++
Date: Wed, 26 Nov 2003 02:32:04 +1000 [thread overview]
Message-ID: <200311260232.04247.steven_shaw@iprimus.com.au> (raw)
In-Reply-To: <1069757381.3fc333c52bf2b@webmail.uoa.gr>
On Tuesday 25 November 2003 20:49, you wrote:
> Also, I don't have main() in my project since it is a shared library.
Do make sure that you link with g++ (as Glynn did in his example). It will
take care of a special linker script that collects all the static
initialisations and I think there may be some magic functions that get
collected for exception handling too.
If that fails why don't you post a complete minimal example that coredumps or
just your original code that's coredumping if necessary.
Steve.
next prev parent reply other threads:[~2003-11-25 16:32 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-24 11:10 mixing C/C++ Elias Athanasopoulos
2003-11-24 12:18 ` Steven Shaw
2003-11-24 17:55 ` Elias Athanasopoulos
2003-11-25 2:21 ` Steven Shaw
2003-11-25 10:49 ` elathan
2003-11-25 11:42 ` Glynn Clements
2003-11-25 13:12 ` elathan
2003-11-26 2:09 ` Glynn Clements
2003-12-02 18:22 ` Elias Athanasopoulos
2003-11-25 16:32 ` Steven Shaw [this message]
2003-11-24 18:44 ` Dari'o Mariani
-- strict thread matches above, loose matches on Subject: below --
2003-11-08 9:30 Elias Athanasopoulos
2003-11-08 13:36 ` James Stevenson
2003-11-10 15:00 ` Matthew Studley
2003-11-10 17:37 ` Elias Athanasopoulos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200311260232.04247.steven_shaw@iprimus.com.au \
--to=steven_shaw@iprimus.com.au \
--cc=elathan@phys.uoa.gr \
--cc=linux-c-programming@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).