Hello, I am trying to compile a simple test program for the
PIC18F67J60 using the Ubuntu Karmic version of SDCC.  The version
information is:

SDCC : mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08
2.9.0 #5416 (Aug 15 2009) (UNIX)

    My test program is:

#include "pic18fregs.h"

int main()
{
    volatile int        count = 0;

    while (1)
        ++count;
}

    And my compilation line is:

        sdcc -mpic16 -p18f67j60 -Wl /usr/share/gputils/lkr/18f67j60.lkr
test.c -o test_out

   The resulting compiler error has proved hard to diagnose:

error: invalid processor type (0xb760) in "libdev18f67j60_a-pic18f67j60.o"
gplink: gpprocessor.c:715: gp_processor_rom_width: Assertion `0' failed.

    I've looked at the libdev source for the pic18f67j60 that was
installed and the header that it includes and see no mention of
processor types, or the constant 0xb760.  Is it likely that my install
is broken?  Or is there something else going on?  I'm also currently
working on building SDCC from source to see if that exhibits the
problem.

    Thanks,
        Anton

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to