This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
linking problem when using "fopen"
- From: jyl087 at netscape dot net
- To: ecos-discuss at sources dot redhat dot com
- Date: Mon, 01 Apr 2002 17:13:08 -0500
- Subject: [ECOS] linking problem when using "fopen"
When I use the "fopen" call in my eCos application, I have problems
with linking. It seems that when "fopen_inner" calls "new Cyg_StdioStream"
it drags in all kinds of C++ exception handling cruft. I've verified
that fopen.cxx was compiled with "-fno_rtti -fno_exceptions", but
for some reason, the "new" call drags in all the RTTI and exception
handling stuff.
I've verified that by commenting out the "new Cyg_StdioStream" call in
"fopen_inner" in the "fopen.cxx" file, my link errors go away, but
obviously fopen no longer works.
Any ideas?
Thanks,
/Jim
__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/
Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss