[PATCH] cpukit: Move zlib into librtemcpu.a and do not install libz.a.

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Sep 17 05:30:26 UTC 2014

On 17/09/14 02:26, Chris Johns wrote:
> The JFFS2 file system can optionally use zlib as a compressor and
> if this is the only reference to zlib the application will not link.
> Adding -lz does not work because librtemscpu.a is added to the end of
> ld's command line via the bsp_specs hack and user added libraries
> appear before this.

If we remove libz.a then this will break all application Makefiles, that assume 
that RTEMS provides it.  I would still provide libz.a.

Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.

More information about the devel mailing list