Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

compression & decompression in vxworks

972 views
Skip to first unread message

Rajendra Prasad

unread,
Aug 29, 2000, 2:02:11 AM8/29/00
to
Hi,

I require a good compression/decompression software that runs both on
vxworks 5.4 and sunsolaris 2.6. Has anybody tried Zlib ? Does it work on
both vxworks 5.4 and sunsolaris 2.6 ?

thanks and regards,
rpraghuram.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

Vijay Kumar Peshkar

unread,
Aug 29, 2000, 3:00:00 AM8/29/00
to
Rajendra,

Why not use the one already present?. I am refering to the one used for
compressing
and decompressing the image to & from ROM.

regards,
Vijay

vpeshkar.vcf

Pete Kockritz

unread,
Aug 29, 2000, 11:41:57 PM8/29/00
to
The vxWorks deflate/inflate work fine, as long as you don't need to
deflate (compress) files or data on the target.

I've used zlib with pSOS and on Solaris (and other platforms). It should
work fine on vxWorks, after all, zlib is what the vxWorks inflate/deflate
are based on.

You could also use 'libbzip2' (I haven't used it myself, however). libbzip2
is said to do a somewhat better job of compressing.

<http://www.cdrom.com/pub/infozip/zlib/>
<http://sources.redhat.com/bzip2/>

In article <39AB97E0...@cisco.com>, vpes...@cisco.com wrote:
> Rajendra,
>
> Why not use the one already present?. I am refering to the one used for
> compressing and decompressing the image to & from ROM.
>
> regards,
> Vijay
>
> Rajendra Prasad wrote:
>

> > Hi,
> >
> > I require a good compression/decompression software that runs both on
> > vxworks 5.4 and sunsolaris 2.6. Has anybody tried Zlib ? Does it work on
> > both vxworks 5.4 and sunsolaris 2.6 ?
> >
> > thanks and regards,
> > rpraghuram.

Regards,
Pete
--
+-----------------------------------------------------------------+
| Pete Kockritz mailto:pkoc...@home.com |
| This space for rent. |
+-----------------------------------------------------------------+

David Laight

unread,
Aug 30, 2000, 3:00:00 AM8/30/00
to
Interestingly I found the full zlib object in my vxWorks image.

I think this arrives as part of the JVM support - but cannot be sure.
It is quite an old version though... Tornado 2 contains version 1.0.4 compiled
with z_ prepended to all its symbols.
I stole (then hacked into submission) a header file from a random Linux system -
for version 1.1.3 and dated July 1998.

Seems to work fine for generating screen dumps in .png format.
(I had barfed at the idea of including SO much code - then found it was
already present!)

I don't think that zlib needs 'porting' as such, I don't think it contains ANY
undefined references (no system/library calls at all!).

David


---------------------------------------------------------------
David Laight email: d...@tadpole.co.uk
Tadpole Technology plc phone: +44 1223 428 232
Cambridge, UK fax: +44 1223 428 201


0 new messages