On Dec 22, 2007 6:54 AM, Phil Anast <[EMAIL PROTECTED]> wrote:
>
> I'm tryin got use sdcc for the pic18.
>
> I am having problems getting the SFRs assembled and linked.
>
> The mplink.exe gives me cannot put section "xxx" in absolute address.
>
> Is there a  .lkr file specifically designed for SDCC use?
> Is there a specific version of mplink.exe I should be using?
>
> The pic18fxxxx.lib file is also not COFF format that mplink likes.
> I took the pic18fxxxx.c compiled it, mpasm'd it then mplink'd it
> and ran into the problem above. I'm trying to rewrite the .lkr file
> to get arround this problem.
>
> Anything you see I am doing wrong? should this be working out of the box?
>

You've dont it wrong. SDCC does not use mpasm and mplink but
rather gpasm and gplink (from gputils).

gputils: http://gputils.sourceforge.net/

Examples (ignore the outdated installation instruction and it is
only for Linux):
http://eis.comp.lancs.ac.uk/~martyn/sdcc_linux/

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to