View Single Post
Old 12 January 2020, 02:24   #2
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,510
Quote:
Originally Posted by adrianpbrown View Post
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?
phx is offline  
 
Page generated in 0.04656 seconds with 11 queries