[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: can gcc regenerate src/Makefile.in before the build?



On 09.03.2017 15:57, Nicolas Boulenguez wrote:
> Hello.
> 
> gcc-7 build process may recreate src/Makefile.in from src/Makefile.def
> and src/Makefile.tpl with something like
> # cd src && autogen Makefile.def
> right after patch application.
> 
> This would drop two thousand lines of noise in
>   debian/patches/bootstrap-no-unneeded-libs.diff
>   debian/patches/gdc-libphobos-build].diff
> plus a bit more in the Ada patches.
> I see no counterpart.
> - Gcc-7 already Build-Depends: autogen for unrelated reasons.
> - The generation takes less than a second on my machine.

I didn't see that the autogen dependency is still there. The reason I was trying
to avoid it was bootstrapping. autogen depends on guile which I wanted to avoid.
I'll look if autogen is used for other cases besides generating the toplevel
Makefile.in.

Matthias


Reply to: