[riot-notifications] [RIOT-OS/RIOT] makefiles: introduce 'LIBS' variable (#11111)

Juan I Carrano notifications at github.com
Thu Mar 7 17:05:08 CET 2019

I'm having trouble understanding the LIBS variable. In #8711 it is used to differentiate between modules that generate a `.a` (the default for everything currently) and those linked into a `.o`.

If `--whole-archive` is used instead of `ld -r`, The combined `.o` are not needed anymore and everything is compiled into `.a` as always, so there is no change there. It might still be necessary to not use  `--whole-archive` for some modules and this is what I understand LIBS does.

In any case, this "static" and "dyncamic" libraries name, even if it comes from the ld manual, is very confusing, since in the end everything is statically linked.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190307/5986de57/attachment.html>

More information about the notifications mailing list