8052 port and sdcc

nobody wrote on Thursday, September 08, 2005:

Hi all,

i am trying to compile using SDCC on Unix but
it complains with error:
hella# gmake main
sdcc -c --model-large -I. -I…/Common/include -I…/include -I…/…/Source/include -DSDCC_CYGNAL --debug --less-pedantic --xram-size 8448 --stack-auto --no-peep --int-long-reent --float-reent ParTest/ParTest.c
In file included from ParTest/ParTest.c:34:
…/…/Source/include/FreeRTOS.h:40:21: stddef.h: No such file or directory

Where can i find stddef.h?

thankx

nobody wrote on Thursday, September 08, 2005:

My copy of SDCC has it in the SDCC/Include directory.  Where you would normally find it.

nobody wrote on Thursday, September 08, 2005:

under BSD unix, include path is
/usr/local/share/sdcc/include   It was not there, i
was running sdcc 2.4.0, updated it to 2.5.0 and
now it is compiling fine.

Thankx for your help