This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Branching for 2.12


At 12:10 1/03/02 +0000, Nick Clifton wrote:
>Sorry, but as your patch stands, no.  There are two problems.  Firstly
>we cannot accept automatically generated code (tds.[ch]) without the
>program needed to regenerate that code.

I open-sourced it - <https://sourceforge.net/projects/dstrans/>. I put it 
there primarily because I won't have enough time to work on it myself most 
of the time, but it's a convenient place to keep it. Also, if somebody else 
wants to take it over the opportunity is there. I'd also be happy to sign 
it over to the FSF if they saw fit.

On the other hand, there's no reason why the generated code couldn't be 
hand-modified, it just means (as you pointed out) that it couldn't be 
regenerated from the original files anymore.

I find manual writing of code of this nature tedious and error-prone, hence 
my spending more time on writing the generator than it would have taken to 
write the generated code by hand. I suspect many others would also prefer 
to be able to generate such code.

>Secondly these generated files are written in ANSI-C.  Binutils is
>still using K&R C, so that they can be rebuilt on systems that only
>provide a K&R C compiler.  (There still are such systems around).

OK - some of the other projects have converted, and I didn't look as 
closely at binutils as I probably should have. I can make the generator 
produce K&R syntax as an option easily enough.
______________________________________________________________________________
troy@rollo.com		IANALY,TINLA		  Troy Rollo, Sydney, Australia
       Fight spam in Australia - Join CAUBE.AU - http://www.caube.org.au/



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]