I'm trying to exclude the stdlib and coming up with errors that I cant figure out how to resolve. any help would be appreciated.
sdcc -V -Wl-rbBANK5=0x28000 -model-large -codeseg BANK5 -nostdlib -no-xinit-opt -main-return -xram-loc 0x1B00 -xram-size 0x400 ^
+ C:\PROGRA~2\SDCC\bin\sdld.exe -nf "x_App.lk"
ASlink-Warning-No definition of area BANK5
?ASlink-Warning-Undefined Global '__start__xstack' referenced by module ''
+ C:\PROGRA~2\SDCC\bin\sdld.exe -nf "x_App.lk" returned errorcode 2
Press any key to continue . . .
You use -no-xinit-opt so why do you link crtxinit.rel?
And you're not using -xstack so why do you link _spx.rel?
And which module was compiled with -codeseg BANK5? It has no purpose on the linking command line.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.