I've noticed that gplink doesn't link relocatable objects
assembled by gpasm to build a new relocatable object.
For example, I've two objects, key_routine.o and
key_polling.o, and I want to create a new relocatable
object key.o from them. If I type
gplink $GPLINKOPTIONS key_routine.o key_polling.o -o
key.o
I get an error.
It's possible to add in a new version of gputils the
feature for gplink to build relocatable objects from other
relocatable objects?
Thanks!
Max.
Anonymous
Logged In: YES
user_id=91596
This is generally referred to as a partial link. gplink
doesn't support it. I don't think adding support would be a
major effort. I will look into it. It won't be a high
priority.
In the mean time, you can use gplib to combine your objects
into one file. In effect, it will get what you are
requesting, multiple files combined into one file.
Thanks for the suggestion.