How do I apply the patches? Do I use, for example this from inside the 
sdcc directory:

patch -p0 0001-target.patch

Thanks

Bob Cochran


On 10/14/2010 02:23 PM, Raphael Neider wrote:
> Hi,
>
>> Shouldn't ./configure check for gputils?
>
> Configure did check for gputils, but did not error out if they were 
> not available due to a bug of mine (in pic16/configure.ac; the 
> pic-port would never have errored out but continued to fail on build).
>
> I attach a patch (0003-build-system.patch and 0004-generated.patch) to 
> make both pic- and pic16 configure-scripts abort with error if gputils 
> are not found, issuing an error like
>
> gputils (gpasm, gplink, and gplib) are required but not found.
> Either install gputils or reconfigure with --disable-pic-port and 
> --disable-pic16-port.
>
> in both ports (devices/{non-free,.}/lib/{pic,pic16}/configure).
>
> Tested (a) without gpasm (causing abort), (b) without gpasm, with 
> --disable-pic-port (aborts when configuring pic16), (c) with gpasm and 
> --disable-pic-port --disable-pic16-port (succeeds without pic ports), 
> (d) with gpasm and pic/pic16 ports included (succeeds as well).
>
> After applying the patches but before commiting one might want to 
> rerun "autoreconf-2.65 -fi", as the patches are generated with 
> autoconf 2.67, which is reflected in aclocal.m4 .
>
>
> Unrelated, build CRITICAL:
> Another patch (0001-target.patch) fixes the include path generation 
> logic in SDCCmain.c by avoiding use of the uninitialized 'target' -- 
> causes SIGSEGV.
>
> A last patch (0002-device-doc.patch) fixes a minor error in the list 
> of supported pic14 devices.
>
>
> Awaiting your approval (or commit).
>
> Raphael
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2&  L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
>
>
> _______________________________________________
> Sdcc-user mailing list
> Sdcc-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sdcc-user

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to