Hi there, How do I get the linker to just include a single segment of a module (source file) into the output? I don't need all the segments and don't want to split the source into different files. bis die Tage... Mathias
You can't. The linker does not work that way. In fact, I'm not sure that there are any linkers that work that way. Jon
Hi, this would be a killer feature though. The linker can overlay data and even replace lcall by acall; the gain in codesize by not linking unnecessary segments would be much higher. This functionality could even be a byproduct of overlaying data! Just tag every segment used (called) and drop all unnecessary segments. bis die Tage... Mathias PS: Yes, codesize does matter that much to me.