On 10/3/07, Stanley Lee <[EMAIL PROTECTED]> wrote:

> Above is with LNK = /usr/local/share/gputils/lkr/

That is wrong. LNK is for the linker not the linker script (LKR),
ie LNK=/usr/local/bin/gplink or sdcc can be used to
call the linker script.

By the way, if you set up gputils and sdcc in the default
directory, you will not need to go through so much troubles.
http://ubicomp.lancs.ac.uk/%7Emartyn/sdcc_linux/
(Do not following the installation instruction -- it is outdated).

Here is a nice example for sdcc with PIC.
http://petertodd.org/tech/example-projects/bin/example-projects-20070527.tar.gz

Xiaofan

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to