I know how to change the codeoffset on MPLAB XC8 easily just by going to XC8 Linker --> Additional options -- > Codeoffset
How do I change it on MPLAB V8.92 with C18 compiler? I am using PIC18F87J11 if that's helpful. I opened the linker file and changed the following but it gave me error. I don't know if I am suppose to do that or not, but all I really want is to change the codeoffset so that the hex file starts at address 10000. I have a bootloader that occupies the following memory space 0-10000. I want the application code to start at address 10000. I can do this fine with MPLAB XC8 but I don't know how to do it with MPLAB 8. Most of my projects are written with MPLAB 8 so converting to MPLAB XC8 would take some time.
Linker file changed from
CODEPAGE NAME=page START=0x0 END=0x1FFF7
To
CODEPAGE NAME=page START=0x10000 END=0x1FFF7
Build Error:
Error - section '_entry_scn' can not fit the absolute section. Section '_entry_scn' start=0x00000000, length=0x00000006
Thanks!