This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Using standard malloc()


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]