public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: Steve Strublic <SStrublic@hypercom.com>
Cc: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] No zlib crc32 support?
Date: Tue, 09 Dec 2003 21:27:00 -0000	[thread overview]
Message-ID: <1071005269.16658.157.camel@hermes> (raw)
In-Reply-To: <OF85A2E03D.49B43EC4-ON07256DF7.00738DB2-07256DF7.00740953@hypercom.com>

On Tue, 2003-12-09 at 14:04, Steve Strublic wrote:
> Would there be any objection to including it (meaning the 'official' zlib version of crc32) in the
> zlib package anyhow?  In my case (and I would think many others), it makes what I'm doing completely
> portable between Linux and eCos without having to ifdef for eCos.
> 

Are you wanting to call crc32() yourself?  or use some of the ZLIB 
functions (that aren't normally used by eCos) that require it?

If you're doing it, all you really need is:
  #define crc32 cyg_crc32_accumulate

> Steve
> 
> --------
> "Space is almost infinite.  In fact, we think it is infinite."  -- Dan Quayle
> 
> 
> 
>                                                                                                                                                                 
>                       gary@mlbassoc.com                                                                                                                         
>                       Sent by:                          To:       SStrublic@hypercom.com                                                                        
>                       ecos-discuss-owner@sources        cc:       ecos-discuss@sources.redhat.com                                                               
>                       .redhat.com                       Subject:  Re: [ECOS] No zlib crc32 support?                                                             
>                                                                                                                                                                 
>                                                                                                                                                                 
>                       12/09/03 01:45 PM                                                                                                                         
>                                                                                                                                                                 
>                                                                                                                                                                 
> 
> 
> 
> 
> On Tue, 2003-12-09 at 13:25, Steve Strublic wrote:
> > Hello all,
> >
> > I'm working on a little project to perform validation of a data set, and planned to use zlib's
> crc32
> > call to validate the data.  Much to my surprise, I found that eCos does not support the crc32
> > call--apparently, on purpose.
> >
> > Would someone be so kind as to explain why this is the case?  I know I can use Adler32 as it's
> > supported, but I'm just wondering why crc32 isn't supported.
> 
> Actually, I think it's just not duplicated in the ZLIB package.
> CRC32 is available in the CRC package.
> 
> --
> Gary Thomas <gary@mlbassoc.com>
> MLB Associates
> 
> 
> --
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss
> 
> 
-- 
Gary Thomas <gary@mlbassoc.com>
MLB Associates


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

  reply	other threads:[~2003-12-09 21:27 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-09 21:08 Steve Strublic
2003-12-09 21:27 ` Gary Thomas [this message]
2003-12-10  8:39 ` Andrew Lunn
2003-12-10 11:14   ` [ECOS] " Daniel Néri
2003-12-10 11:35     ` Andrew Lunn
  -- strict thread matches above, loose matches on Subject: below --
2003-12-15 17:56 [ECOS] " Steve Strublic
2003-12-15 19:52 ` Nick Garnett
2003-12-12 22:35 Steve Strublic
2003-12-15  8:33 ` Andrew Lunn
2003-12-10 16:22 Steve Strublic
2003-12-10 16:14 Steve Strublic
2003-12-10 16:20 ` Gary Thomas
2003-12-11  0:38 ` Andrew Lunn
2003-12-09 20:29 Steve Strublic
2003-12-09 20:45 ` Gary Thomas

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=1071005269.16658.157.camel@hermes \
    --to=gary@mlbassoc.com \
    --cc=SStrublic@hypercom.com \
    --cc=ecos-discuss@sources.redhat.com \
    /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).