Bootstrapping and autotools
Andrius Štikonas
andrius at stikonas.eu
Thu Apr 18 23:47:41 UTC 2024
2024 m. balandžio 18 d., ketvirtadienis 23:18:53 BST Andrius Štikonas via rb-
general rašė:
> 2024 m. balandžio 18 d., ketvirtadienis 23:11:41 BST kpcyrd rašė:
> > hello,
> >
> > does somebody know what the bootstrapping status of autotools is?
>
> It can be done. See https://github.com/fosslinux/live-bootstrap/blob/master/
> parts.rst
>
> > Also, is something considered "bootstrapped from source" if the build is
> > making use of a pre-generated `./configure` script that is 25k lines long?
>
> Yes, I agree and that's what live-bootstrap does.
Sorry, this ended up confusing. I wanted to say that live-bootstrap reuilds
all pre-generated files (at least as far as we are aware): autotools scripts,
bison/flex files, pregenerated header files, etc...
>
> > In my opinion something is only "bootstrapped from source" if autoreconf
> > is used as part of the build instead of executing some pre-compiled
> > `./configure` script. This however means that, to compile bash, one
> > needs to compile autotools first.
>
> No, that doesn't mean that you need to compile autotools first. There are
> other options, e.g. you can hand-write makefile.
>
> Also note that we recently learned that autoreconf -f is not guaranteed to
> rebuild all pre-generated files.
>
> Andrius
>
> > curious,
> > kpcyrd
More information about the rb-general
mailing list