Original Post
Hi All, I was wondering if there is a gcc linker option to remove unused functions and data from the executable? I can't seem to find one. With the .net compiler and linker I can use these options: -Gy (for compiling) -OPT:REF (For linking) Is there any equivalents for the gcc compiler? Thanks!!