problemslinking Zlib
Sebastian Huber
sebastian.huber at embedded-brains.de
Wed Jul 10 16:20:09 UTC 2019
----- Am 10. Jul 2019 um 15:14 schrieb joel joel at rtems.org:
> On Wed, Jul 10, 2019 at 6:39 AM Sebastian Huber <
> sebastian.huber at 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.
More information about the devel
mailing list