On 11/7/19 2:20 am, Sebastian Huber wrote: > ----- Am 10. Jul 2019 um 15:14 schrieb joel j...@rtems.org: > >> On Wed, Jul 10, 2019 at 6:39 AM Sebastian Huber < >> sebastian.hu...@embedded-brains.de> wrote: >> >>> On 10/07/2019 13:33, Nils Hölscher wrote: >>>> I am currently trying to add the fdt-shell commands to my application >>>> but rtems zlib won't link with -lz added to gcc. >>> >>> The short answer is that you have to use "-lrtemscpu -lz" on the command >>> line. >>> >> >> Shouldn't -lrtemscpu always be implied? So just the -lz > > We have this problem always when something in librtemscpu.a uses libz.a. The > librtemscpu.a is added by -qrtems at the end, so the linker doesn't find the > libz.a which is given earlier at the command line.
Does this mean we should add -z tto the specs? Chris _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel