Forum > FPC development

.section .debug_frame

(1/1)

Key-Real:
is it possible to entirely get rid of the

--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---# Begin asmlist al_dwarf_framesection?

nickysn:
I assume you've already tried removing debug info via -g-

Looking at the compiler sources, I think you need to remove tf_needs_dwarf_cfi from the flags set in compiler/systems/i_ps1.pas

If it doesn't work, you can try stripping the final executable, using something like the 'strip' utility: https://www.man7.org/linux/man-pages/man1/strip.1.html

Navigation

[0] Message Index

Go to full version