Hi Dima,
can you try --use-non-free parameter for sdcc during compilation ? Is it
better now ?
Vaclav
"Hello!
I've just installed latest version of SDCC and want to compile some simplest
possible program like
#include <pic18fregs.h>
void main() {
while (1) {
TRISB = 0;
PORTB = 19;
}
}
with SDCC 3.2.1
sdcc -mpic16 -p18f1220 -V test0.c
But this message occurs:
+ /usr/local/bin/sdcpp -nostdinc -Wall -Dpic18f1220 -D__18f1220 -D__SDCC_PIC
18F1220 -DSTACK_MODEL_SMALL -D__STACK_MODEL_SMALL -obj-ext=.o -D__SDCC=3_2_1
-DSDCC=321 -D__SDCC_REVISION=8146 -DSDCC_REVISION=8146 -D__SDCC_pic16 -
DSDCC_pic16 -D__pic16 -D__STDC_NO_COMPLEX__ -D__STDC_NO_THREADS__ -D__STDC_
NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem /usr/local/bin/../share/sdcc/
include/pic16 -isystem /usr/local/share/sdcc/include/pic16 -isystem /usr/
local/bin/../share/sdcc/include -isystem /usr/local/share/sdcc/include test
0.c
3:
pic18fregs.h:397: 26: error: pic18f1220.h: No such file or directory
SDCC compiled from source in standard way like this:
./configure (no errors reported, all targets in state 'yes')
make
su -c 'make install'
No errors reported by make.
OS: stable Debian Squeeze 64
This problem lays on silly structure of sdcc include directories (sdcc/
include; sdcc/non-free/include)
I know this can be fixed and my question is: how?
I can just mix in files from 'non-free' subdirs into normal include and lib
dirs. Is that a way sdcc works?
----------------------------------------------------------------------------
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov(http://p.sf.net/sfu/appdyn_d2d_nov)
_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user
(https://lists.sourceforge.net/lists/listinfo/sdcc-user)"------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user