This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Using standard malloc()
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Balasaravanan P <pbalasaravanan at gmail dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Wed, 11 May 2005 22:42:45 +0200
- Subject: Re: [ECOS] Using standard malloc()
- References: <122f850005051023046ec45ca3@mail.gmail.com>
On Wed, May 11, 2005 at 11:34:30AM +0530, Balasaravanan P wrote:
> Hi,
>
> I am writing an abstraction layer for an existing application this
> requires me to use malloc to create threads.
>
> I tried using the standard LIBC malloc which returns NULL. I tried
> printing the mallinfo structure and it shows 0 for all its members.
>
> Is there any other way to use standard malloc or am I missing any
> configuration steps.
You are missing something somewhere. malloc should work. What is the
target and the configuration? Do an ecosconfig export and post the
result.
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