From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11734 invoked by alias); 21 Apr 2005 14:56:26 -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 11701 invoked from network); 21 Apr 2005 14:56:20 -0000 Received: from unknown (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org with SMTP; 21 Apr 2005 14:56:20 -0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1DOd65-0005mF-00; Thu, 21 Apr 2005 16:56:05 +0200 Date: Thu, 21 Apr 2005 15:00:00 -0000 To: Erik Christiansen Cc: ecos-discuss@ecos.sourceware.org Message-ID: <20050421145605.GD21729@lunn.ch> Mail-Followup-To: Erik Christiansen , ecos-discuss@ecos.sourceware.org References: <20050421093519.GB1436@dd.nec.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050421093519.GB1436@dd.nec.com.au> User-Agent: Mutt/1.5.9i From: Andrew Lunn Subject: Re: [ECOS] Adding string library, with SERIAL and DEBUG excluded. X-SW-Source: 2005-04/txt/msg00216.txt.bz2 On Thu, Apr 21, 2005 at 07:35:20PM +1000, Erik Christiansen wrote: > It looks like CYGBLD_ISO_STRING_BSD_FUNCS_HEADER should enable the > string library (BSD string functions), but if I uncomment: > > # user_value 0 0 > > is there some magic in the presence of two values, that must be dealt > with? Since the two bit "booldata" can only have 3 other values, I can > muck about with them. Maybe I can work it out from the code, but if > anyone knows already, it'd be great. What template are you using? Most templates have string functions already so you should not have to do anything. If you are using the minimal template then all you should need to do is: ecosconfig add libc_string and all these configuration options will be set automagically. BTW, booldata means that the first value is bool and the second is data. Data can be anything, so its not four combination its an infinate number. You should find that it ends up with 1 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