Reply by Paul Curtis February 17, 20072007-02-17
Add the linker script to the project and in the Common configuration set its
file type to Linker Script.
> -----Original Message-----
> From: l... [mailto:l...] On
> Behalf Of windam_2000
> Sent: 17 February 2007 04:16
> To: l...
> Subject: [lpc2000] CrossStudio and linker script
>
> Hi All,
>
> I'm trying to use a linker script with Cross Studio. Unfortunately,
> the help files don't indicate how.
> So I tried to use Project Options->Linker->Additional Linker Options
> and filled in the text box:
> -T .\Flash.ld
>
> The linker gave an error: cannot open linker script file .\Flash.ld:
> No such file or directory
>
> So I copied Flash.ld to the subfolder ARM Flash Debug which is in my
> project folder. The linker gave the same error.
> Then I tried to use:
> -T Flash.ld
> -T ./Flash.ld
>
> Still can't find it. If anyone has any ideas to try, please let me
> know.
>
> Thanks,
>
> -win
>
> Yahoo! Groups Links
>

An Engineer's Guide to the LPC2100 Series

Reply by windam_2000 February 17, 20072007-02-17
Hi All,

I'm trying to use a linker script with Cross Studio. Unfortunately,
the help files don't indicate how.
So I tried to use Project Options->Linker->Additional Linker Options
and filled in the text box:
-T .\Flash.ld

The linker gave an error: cannot open linker script file .\Flash.ld:
No such file or directory

So I copied Flash.ld to the subfolder ARM Flash Debug which is in my
project folder. The linker gave the same error.
Then I tried to use:
-T Flash.ld
-T ./Flash.ld

Still can't find it. If anyone has any ideas to try, please let me know.

Thanks,

-win