This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Using C++ operator new and delete
- From: Andrew Lunn <andrew at lunn dot ch>
- To: David Luca <davidluca3000 at yahoo dot com>
- Cc: ecos-devel at ecos dot sourceware dot org, ecos-discuss at ecos dot sourceware dot org
- Date: Tue, 21 Nov 2006 14:08:53 +0100
- Subject: Re: [ECOS] Using C++ operator new and delete
- References: <20061121130529.57519.qmail@web38709.mail.mud.yahoo.com>
On Tue, Nov 21, 2006 at 05:05:29AM -0800, David Luca wrote:
> Hello,
> I used the hello.c from ecos examples folder and I
> tried to use new and delete operators to allocate
> dynamically some objects, but the compiler cannot find
> new (I used #include <new>). I'm using arm-elf-gcc
> 4.1.1. Also, I tried to disable
> CYGFUN_INFRA_EMPTY_DELETE_FUNCTIONS as in eCosCentric
> online documentation, but same problem. Can anyone
> help me?
Please give us more information. How do you compile the program? How
do you link it. What is the error?
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss