This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gcc
- To: Simon Ouellet <Simon_Ouellet at excite dot com>
- Subject: Re: gcc
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 22 Jan 2001 01:48:16 -0200
- Cc: gcc-help at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <27260197.980133994484.JavaMail.imail@goochy.excite.com>
On Jan 22, 2001, Simon Ouellet <Simon_Ouellet@excite.com> wrote:
> I want to know how call C++ function in C with GCC?
> it is possible and how ?
Declare the C++ function as `extern "C"'.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me