On 17/09/2014 3:30 pm, Sebastian Huber wrote:
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.
Will the linker complain if the symbols are in 2 separate archives ?
To me this will appear confusing and result in questions about which is
which and why there are 2 copies.
I would like to see all these little libraries go away and in post 4.11
(say 5.0) I will be pushing for this very hard for this very reason.
Chris
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel