help needed in linker script

Programming, for all ages and all languages.
Post Reply
neopro

help needed in linker script

Post 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
User avatar
Neo
Member
Member
Posts: 842
Joined: Wed Oct 18, 2006 9:01 am

Re:help needed in linker script

Post 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)
Only Human
Post Reply