wovo / hwlib

C++ OO micro-controller library for close-to-the-hardware programming
Boost Software License 1.0
57 stars 26 forks source link

Pay for what you don't use #1

Closed ManDeJan closed 7 years ago

ManDeJan commented 7 years ago

Why is it that when I only want to say, blink a led with hwlib everything in hwlib ends up in the binary? hwlib is so big now that this is becomming an issue if I use hwlib outside of bmptk, binaries end up so big that I cannot link succesfully if I dont optimize with at least -O1.

wovo commented 7 years ago

?gebruik je wel

-ffunction-sections?

?

Mij Due blink is 420 bytes.

Wouter van Ooijen

0638150444 - DL200 2.86


Van: Jan Halsema notifications@github.com Verzonden: woensdag 15 februari 2017 16:13 Aan: wovo/hwlib CC: Subscribed Onderwerp: [wovo/hwlib] Pay for what you don't use (#1)

Why is it that when I only want to say, blink a led with hwlib everything in hwlib ends up in the binary? hwlib is so big now that this is becomming an issue if I use hwlib outside of bmptk, binaries end up so big that I cannot link succesfully if I dont optimize with at least -O1.

- You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/wovo/hwlib/issues/1, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AInubGjODt-Uj2IFt7CRVhX-S_iND0uVks5rcxYmgaJpZM4MB1ZL.