Hi-

I'm new to sdcc, and am having some issues getting some very simple
code to compile for a pic processor on a Fedora 15 system.  I'm running
with a clean build from a fresh checkout of the sdcc source from trunk.

> sdcc -v
SDCC :
mcs51/gbz80/z80/z180/r2k/r3ka/ds390/pic16/pic14/TININative/ds400/hc08/s08
3.1.5 #7876 (Jun  8 2012) (Linux)

compiling what is essentially an 8 line program with:
>  sdcc --debug -mpic14 -p12f675 toggle.c

I'm getting a whole string of warnings such as:
/usr/local/bin/../share/sdcc/include/pic/pic12f675.h:64: warning 115:
unknown or unsupported #pragma directive 'memmap INDF_ADDR INDF_ADDR SFR 0x000'

followed by:
/usr/local/bin/../share/sdcc/include/pic/pic12f675.h:358: error 20:
Undefined identifier 'COMCON_ADDR'
/usr/local/bin/../share/sdcc/include/pic/pic12f675.h:358: error 2:
Initializer element is not constant

I've rebuilt the .c and .h files with inc2h.pl, and was seeing the same
warnings when I ran with sdcc installed from a binary using yum.

Is the pic support really not ready to go yet, or is there something
else going on here?

Thanks for any help y'all can provide.

Joel
-- 
Joel Davidson
Austin, TX
j...@prismnet.com

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to