From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17967 invoked by alias); 11 May 2005 20:42:54 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 17383 invoked from network); 11 May 2005 20:42:48 -0000 Received: from unknown (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org with SMTP; 11 May 2005 20:42:48 -0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1DVy2X-0007Ae-00; Wed, 11 May 2005 22:42:45 +0200 Date: Thu, 12 May 2005 05:08:00 -0000 To: Balasaravanan P Cc: ecos-discuss@sources.redhat.com Message-ID: <20050511204245.GX31731@lunn.ch> Mail-Followup-To: Balasaravanan P , ecos-discuss@sources.redhat.com References: <122f850005051023046ec45ca3@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <122f850005051023046ec45ca3@mail.gmail.com> User-Agent: Mutt/1.5.9i From: Andrew Lunn Subject: Re: [ECOS] Using standard malloc() X-SW-Source: 2005-05/txt/msg00173.txt.bz2 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