Alan Nilsson <alan.n@xxxxxxx> writes: > Is there a way to build/config ld to use a custom script for the > 'default' linker script? Well, yes, you can edit the linker sources. It's a little complicated, as the default linker script is generated. See the files in ld/scripttempl. The linker script template is selected by the SCRIPT_NAME variable in the emulparams file. The emulparams file is selected by the targ_emul variable in ld/configure.tgt. > I want to setup ld so I do not have to use the -T option since all > my builds require a custom script. I would just use a shell script to compile code. Ian