Hello I dont know if this option exists in the SDCC linker, but there is a possible alternative:
Define each function in his own file, and then bundle all compiled objects in a static library (if needed). Then the linker should be able to include only the required object files. Sebastien Le 23/10/2019 ?? 10:08, ???????? a ??crit?0?2: > Dear Sir, > > ?0?2 ?0?2 ?0?2 There is a linker option named REMOVED_UNUSED for KeilC51, Can > you tell > me there is a similar option for SDCC compiler? Because I found the size of > the code build by sdcc is larger than which build by KeilC51 with the > same project. In other words ,the build efficency of sdcc compiler is lower > than keilc51, so should I get some information how to improve these > situations? > ?0?2 ?0?2 ?0?2 Have looking forward to your reply... > > > ?0?2Sincerely, > > ?0?2 Thanks. > > > _______________________________________________ > Sdcc-user mailing list > Sdcc-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sdcc-user
_______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user