Hi,

Am 18.09.2013 14:59 schrieb "Jim Duffy" <jduff...@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,
Raphael
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to