Quote:
Originally Posted by adrianpbrown
Everything suggests that amiga linking should use the first .o as the entry point?
|
Correct. An Amiga executable is always started with the first instruction in the first section. A linker usually keeps the order of object files on the command line, when merging their sections into the output executable.
Quote:
Am I doing something wrong?
|
Probably. But hard see without an example, like the full commandline when calling vlink. Hint: You may call vlink with the -M option, which generates a map file. It shows the order of all files and sections in the output.
Quote:
Also i couldnt find the source code to the startup.o/mstartup.o files so i cant alter these to my requirements either
|
vclib is free, but not open source. Anything special you would need?