ksherlock / wdc-utils

Missing utilities for WDC's 65xx developer tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Any way to set entry point with wdc linker?

MatthewRobertDunn opened this issue · comments

I've been playing around with the WDC linker to produce OMF files

It seems to work well; but I ran into an issue...whatever OBJ file I pass to the linker first always becomes the entry point....This doesn't really work well with C projects as the .obj file containing the main function usually goes last.

Is there any way to rig it so the main function ends up being the entry point even if it's linked last?