gba.specs

support for the ARM toolchain
Post Reply
GABOSNAKE
Posts: 2
Joined: Tue Jan 10, 2012 10:14 pm

gba.specs

Post by GABOSNAKE » Fri Jan 27, 2012 10:41 pm

Hi everyone, I have a question about the gba.specs file, this file is used by arm-eabi-gcc for compiling gba-arm code, so...
Somebody can explain me the function of this file?

file: gba.specs

Code: Select all

%rename link                old_link

*link:
%(old_link) -T gba_cart.ld%s

*startfile:
gba_crt0%O%s crti%O%s crtbegin%O%s
Thanks!

Dwedit
Posts: 43
Joined: Sun Jan 06, 2008 4:06 am

Re: gba.specs

Post by Dwedit » Tue Feb 07, 2012 4:17 am

The only part of the .specs file I know is the part where it picks the linkscript (.ld) file. Since I often use custom linkscripts, I need to make the linker use a different specs file just to pick a different linkscript.

GABOSNAKE
Posts: 2
Joined: Tue Jan 10, 2012 10:14 pm

Re: gba.specs

Post by GABOSNAKE » Sun Feb 12, 2012 3:57 am

Dwedit wrote:The only part of the .specs file I know is the part where it picks the linkscript (.ld) file. Since I often use custom linkscripts, I need to make the linker use a different specs file just to pick a different linkscript.
Oh good, i find the custom script, thank's...

Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests