Mail Archives: djgpp/2000/03/17/09:03:56
I have a linker script ( xyz.ld ) that begins as follows:
/* **************************************** */
MEMORY
{
rom : org=0x0, len=0x5f000
data: org=0x80000000, len=0x03000
bss: org=0x80003000, len=0x016000
}
/* **************************************** */
I try linking this to my code with
> gcc xyz.c -Xlinker -T -Xlinker xyz.ld
However, I get a "parse error on line 5 " message(This line corresponds
to the "rom: ..." line) . As far as I see, there is nothing wrong with
the format of the linker script. Can anyone please help me troubleshoot.
Regards
- Raw text -