[ECOS] C Linkage for C++ Files

Fred Woolsey fwsbcon@fwsbcon.com
Tue Jan 7 01:55:00 GMT 2003


Dan,

Thanks... but I'd figured this out already, believe it or not...

<<Getting up on my soapbox- this isn't directed at you, Dan...>>

Those with better knowledge ought to know better... when someone asks what
seems to be a stupid question, it isn't necessary to give a stupid answer...

BTW, Greg- Thanks for the tip... I was able to find some useful info in the
GCC manual by way of a sidelong search for "extern"...

Hoping we both have learned something,
Fred Woolsey

----- Original Message -----
From: "Dan Conti" <danc@fullplaymedia.com>
To: "ecos-discuss" <ecos-discuss@sources.redhat.com>
Sent: Monday, January 06, 2003 8:43 PM
Subject: RE: [ECOS] C Linkage for C++ Files


It would be as simple as wrapping the relevant C++ code in 'extern "C"'
decls.

-----Original Message-----
From: Fred Woolsey [mailto:fwsbcon@fwsbcon.com]
Sent: Monday, January 06, 2003 5:19 PM
To: ecos-discuss
Subject: Re: [ECOS] C Linkage for C++ Files


Dunno... would it?

Thanks for the help (I think..),
Fred Woolsey

(PS: A question typically expects an answer, not another question.)


----- Original Message -----
From: "Greg Lanthier" <greg_lanthierca@yahoo.ca>
To: "Fred Woolsey" <fwsbcon@fwsbcon.com>; "ecos-discuss"
<ecos-discuss@sources.redhat.com>
Sent: Monday, January 06, 2003 8:11 PM
Subject: Re: [ECOS] C Linkage for C++ Files


> It wouldn't be as simple as wrapping the relevant C++
> code in 'extern "C"' decls, would it?
>
> Greg
>
>  --- Fred Woolsey <fwsbcon@fwsbcon.com> wrote: > Hi
> all,
> >
> > Can anyone help explain how to go about compiling a
> > C++ file with C linkage?
> > The eCos reference manual makes a reference to
> > this... Is there a switch or
> > a #pragma for this?
> >
> > Thanks and Best Regards,
> > Fred Woolsey
> >
> >
> >
> > --
> > Before posting, please read the FAQ:
> > http://sources.redhat.com/fom/ecos
> > and search the list archive:
> > http://sources.redhat.com/ml/ecos-discuss
> >
>
> ______________________________________________________________________
> Post your free ad now! http://personals.yahoo.ca
>
> --
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss
>
>
>
>



--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss






-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list