We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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
Hi again, I (of course :-) want this to be "automagic" and not have to specify any segment I want / don't want. bis die Tage... Mathias
Hello, Maybe it would help if you give me a little example. I think I do not exactly understand what you want to do.
I think you'd have to make a Library?
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.