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

Ralf Corsepius ralf.corsepius at rtems.org
Thu Sep 18 13:05:57 UTC 2014


On 09/17/2014 02:26 AM, 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.
Moving libz.a into librtemscpu.a is not a wise idea.

> 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.
That's simply a bug somewhere. You should fix it.

Ralf





More information about the devel mailing list