[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Joy of STL



or add -lstdc++ to your linker flags or linker command line.  This is for
gcc only.  g++ links this in by default.

Brendan Simon.



Rosimildo DaSilva wrote:

> From: Nick.SIMON at syntegra.bt.co.uk <Nick.SIMON at syntegra.bt.co.uk>
> To: rtems-list at oarcorp.com <rtems-list at oarcorp.com>
> Date: Tuesday, May 04, 1999 8:06 PM
> Subject: Joy of STL
>
> >Esteemed fellow RTEMSers,
> >
> >I've been trying to use STL, and fail on a bunch of undefineds (see
> >attachment).  Obviously, io streams aren't included in the library.  Any
> >solutions?
> >
> >TIA,
> >
>
> Nick,
>
> I had the same problem a while back.
>
> The problem is that you are using GCC to link. You have to change your
> makefile to use G++ instead.
>
> Rosimildo.