Re: Compiling GCC using an older sysroot

2020-03-13 Thread Ton van den Heuvel via Gcc
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

Re: Compiling GCC using an older sysroot

2020-03-12 Thread Paul Smith
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,

Re: Compiling GCC using an older sysroot

2020-03-11 Thread Jonathan Wakely via Gcc
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

Re: Compiling GCC using an older sysroot

2020-03-11 Thread Paul Smith
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

Re: Compiling GCC using an older sysroot

2020-03-11 Thread Jonathan Wakely via Gcc
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

Re: Compiling GCC using an older sysroot

2020-03-09 Thread Paul Smith
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

Re: Compiling GCC using an older sysroot

2020-03-09 Thread Joseph Myers
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. > >