On Thu, Mar 12, 2020 at 5:11 PM Paul Smith wrote:
>
> On Wed, 2020-03-11 at 17:15 +, Jonathan Wakely wrote:
> > My thinking was to build GCC inside the container, then package up the
> > results and install that on your dev machines (outside a container).
> > But actually that won't work becau
On Wed, 2020-03-11 at 17:15 +, Jonathan Wakely wrote:
> My thinking was to build GCC inside the container, then package up the
> results and install that on your dev machines (outside a container).
> But actually that won't work because you'd also need to package the
> glibc from the container,
On Wed, 11 Mar 2020 at 16:46, Paul Smith wrote:
>
> On Wed, 2020-03-11 at 14:17 +, Jonathan Wakely wrote:
> > On Mon, 9 Mar 2020 at 21:56, Paul Smith wrote:
> > > The tricky bit is that although both the host and target are always
> > > x86_64/i686 GNU/Linux systems, I need the generated compi
On Wed, 2020-03-11 at 14:17 +, Jonathan Wakely wrote:
> On Mon, 9 Mar 2020 at 21:56, Paul Smith wrote:
> > The tricky bit is that although both the host and target are always
> > x86_64/i686 GNU/Linux systems, I need the generated compiler to run on
> > much older systems than the one I build i
On Mon, 9 Mar 2020 at 21:56, Paul Smith wrote:
> The tricky bit is that although both the host and target are always
> x86_64/i686 GNU/Linux systems, I need the generated compiler to run on
> much older systems than the one I build it on.
>
> I have a sysroot I've created (downloading RPMs from old
On Mon, 2020-03-09 at 22:01 +, Joseph Myers wrote:
> On Mon, 9 Mar 2020, Paul Smith wrote:
> > I have a sysroot I've created (downloading RPMs from older systems and
> > unpacking them) which is sufficient to build GCC (and binutils etc.) I
> > need the GCC binaries I create to be compiled usi
On Mon, 9 Mar 2020, Paul Smith wrote:
> I have a sysroot I've created (downloading RPMs from older systems and
> unpacking them) which is sufficient to build GCC (and binutils etc.) I
> need the GCC binaries I create to be compiled using this sysroot so
> that they can run on older systems.
>
>
I have a somewhat complex makefile that I've been using for many years
to build GCC: it builds tools needed (make, bison, flex, m4, binutils),
downloads the source prerequisites and links them, etc.
I'd like some advice, hopefully an easy answer, that allows me to
simplify that system, which curre