Re: Separate debug info for release builds
Henry Vermaak via fpc-pascal <[email protected]>
| Newsgroups | gmane.comp.compilers.free-pascal.general |
|---|---|
| Message-ID | <CAOVzLrdF7UNP-=DYOQXvz9tm1p10vw2e=QvYK1eLf9ckbBSPxw@mail.gmail.com> |
On Fri, 1 Nov 2024 at 15:49, Martin Frb via fpc-pascal <[email protected]> wrote: > Another factor could be that debug info affects smartlinking. Or leaves symbols for the linker in sections that are shared with non-debug info. This seems to be the problem. I think adding -g turns off smartlinking, which then blows up the binary size, I've just tested with and without (-CX -XX). Henry _______________________________________________ fpc-pascal maillist - [email protected] https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal