mold icon indicating copy to clipboard operation
mold copied to clipboard

Does mold support "--print-memory-usage" flag?

Open zrno opened this issue 2 years ago • 3 comments

When building embedded firmware printing the memory usage is often very beneficial. When I try to use mold with the arm-none-eabi-gcc compiler with the flag --print-memory-usage I get the error mold: fatal: unknown command line option: --print-memory-usage

zrno avatar Sep 29 '23 06:09 zrno

We don't support that flag, but we also don't support linker script. Are you using mold to build embedded firmware?

rui314 avatar Sep 29 '23 06:09 rui314

Yes. I was just trying out if it will work for embedded targets

zrno avatar Sep 29 '23 08:09 zrno

Are there plans to support embedded workflows?

zrno avatar Sep 29 '23 08:09 zrno