Page 1 of 1

help needed in linker script

Posted: Thu Aug 19, 2004 11:54 pm
by neopro
hi all,

i need some help about how to include linker script ... into the file .... and i need to find the size of the file in run time ..

thanks in advance

Re:help needed in linker script

Posted: Fri Aug 20, 2004 11:56 am
by Neo
what do you mean "how" to include the linker script? it has to be given as an arg to the linker. If you are using GCC the use the

Code: Select all

ld -T linkerscript.ld <all the other options etc>
Check this site for help on DJGPP's ld (Windows port of GCC)