This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: linking problem when using "fopen"
- From: Jonathan Larmour <jlarmour at redhat dot com>
- To: jyl087 at netscape dot net
- Cc: Robin Farine <robin dot farine at acn-group dot ch>,eCos users <ecos-discuss at sources dot redhat dot com>
- Date: Thu, 04 Apr 2002 20:42:22 +0100
- Subject: Re: [ECOS] linking problem when using "fopen"
- Organization: Red Hat UK Ltd.
- References: <4D35F938.1B4AD6C2.00067016@netscape.net>
jyl087@netscape.net wrote:
> I'm using GCC 2.95.2. The libgcc.a associated with this compiler
> implements "new" with exceptions. Robin is on the right track, but
> the "new (std:nothrow)" form doesn't quite work, as Cyg_Stdio_Stream's
> constructor doesn't match the std:nothrow form of "new".
>
> I found the solution in the ecos-discuss archives from Ryouzaburou
> Suzuki -
>
> http://sources.redhat.com/ml/ecos-discuss/2000-11/msg00235.html
>
> Seems like this problem has been known for a couple of years. Why hasn't
> the fix been incorporated into the source tree?
Sort of because I don't like it because the fault is elsewhere. In
Ryouzaburou's case, the problem was because of his tools. In your case the
problem is surely because of your eCos sources (you haven't said what the
problem exactly is and what eCos sources you are using so I can't be sure).
I know it "works for me" :-).
I'll do you a deal: tell me what your problem is, and I'll make this change
even though I don't like it.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss