This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Mixing libraries in C and C++
- To: "Alberto Faraldos Izquierdo" <alberto dot faraldos at sema dot es>
- Subject: Re: Mixing libraries in C and C++
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 23 Jun 2001 04:18:09 -0300
- Cc: gcc-help at gcc dot gnu dot org, gcc at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <3B3308AC.B6890BFA@sema.es>
On Jun 22, 2001, "Alberto Faraldos Izquierdo" <alberto.faraldos@sema.es> wrote:
> it produces several “Undefined symbol” errors when it tries to link
> all.
You'll have to use g++ for linking, so that libstdc++ is linked in.
--
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