Hi,
I'm trying to compile PICos18 (http://www.picos18.com) using SDCC, but
I'm getting some problems:
+ "/usr/local/bin/sdcpp" -nostdinc -Wall -std=c99
-I"/home/alan/pic/picos18/" -Dpic18f2680 -D__18f2680
-DSTACK_MODEL_SMALL -obj-ext=.o -DSDCC_MODEL_SMALL -DSDCC=274
-DSDCC_pic16 -D__pic16 -I"/usr/local/bin/../share/sdcc/include/pic16"
-I"/usr/local/share/sdcc/include/pic16" -I"/home/alan/pic/picos18/"
"alarm.c"
pro_man.h:61: token -> 'const' ; column 17
Looking at line:
typedef rom const struct _rom_desc_tsk
{
unsigned char prioinit;
unsigned char *stackAddr;
void (*addr_ROM)(void);
unsigned char tskstate;
unsigned char tskid;
unsigned int stksize;
} rom_desc_tsk;
I just removed the word rom to "solve" the problem. But I don't know
what is the right way to solve it.
There is some tutorial with tips helping people moving from C18 to SDCC ?
Does someone here tried to compile PICos18 or other RTOS using SDCC?
Cheers,
Alan
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user