Am 18.09.2013 14:59 schrieb "Jim Duffy" <jduffy11@legacyleaders.ca>:

> sdcc main.c -L "\Program Files\SDCC\lib\pic16" -I "\PIC\XLP 8bit Release
> Code V1.1\PIC16\xlp_menu.X\xlp_menu.X"
> The first error message from sdcc is:
> main.c:47:19: error: stdio.h: No such file or directory
> How do I tell sdcc where the standard libraries are?

You may need to add --use-non-free to the command line. Apart Form that, default options -I and -L can be used to add search paths for include and library files.

The spaces in the paths may pose problems as well - if the above does not help, please try compiling sources in blank-less paths.

Hoping that helps,