public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: Erik Christiansen <erik@dd.nec.com.au>
Cc: ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] Adding string library, with SERIAL and DEBUG excluded.
Date: Thu, 21 Apr 2005 15:00:00 -0000	[thread overview]
Message-ID: <20050421145605.GD21729@lunn.ch> (raw)
In-Reply-To: <20050421093519.GB1436@dd.nec.com.au>

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 <cyg/libc/string/bsdstring.h>

        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

  reply	other threads:[~2005-04-21 14:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-21 14:56 Erik Christiansen
2005-04-21 15:00 ` Andrew Lunn [this message]
2005-04-21 15:02 ` [ECOS] error on i386 Gonçalo Antunes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050421145605.GD21729@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=ecos-discuss@ecos.sourceware.org \
    --cc=erik@dd.nec.com.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).