On 10/15/2010 12:41 AM, Bob Cochran wrote:
>    How do I apply the patches? Do I use, for example this from inside the
> sdcc directory:
>
> patch -p0 0001-target.patch
>
>    

patch -p0 < 0001-target.patch

But patches are already applied to the svn, so please wait for the 
today's snapshot build and try to rebuild sdcc from the snapshot build 
source package, since that one, or it's successor, will be released as 
sdcc 3.0.0 RC2.

Borut

> 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
>>      

------------------------------------------------------------------------------
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