Re: [PATCH] Introduce --with-gcc-major-version-only configure option (take 2)

2017-01-20 Thread Jakub Jelinek
On Fri, Jan 20, 2017 at 12:12:17AM +0100, Matthias Klose wrote: > On 19.01.2017 13:26, Jakub Jelinek wrote: > > On Thu, Jan 19, 2017 at 01:13:14PM +0100, Franz Sirl wrote: > >> Am 2017-01-12 um 21:16 schrieb Jakub Jelinek: > >>> libmpx/ > >>> * configure.ac: Add GCC_BASE_VER. > >>> *

Re: [PATCH] Introduce --with-gcc-major-version-only configure option (take 2)

2017-01-19 Thread Matthias Klose
On 19.01.2017 13:26, Jakub Jelinek wrote: > On Thu, Jan 19, 2017 at 01:13:14PM +0100, Franz Sirl wrote: >> Am 2017-01-12 um 21:16 schrieb Jakub Jelinek: >>> libmpx/ >>> * configure.ac: Add GCC_BASE_VER. >>> * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to >>> get

Re: [PATCH] Introduce --with-gcc-major-version-only configure option (take 2)

2017-01-19 Thread Jakub Jelinek
On Thu, Jan 19, 2017 at 01:13:14PM +0100, Franz Sirl wrote: > Am 2017-01-12 um 21:16 schrieb Jakub Jelinek: > > libmpx/ > > * configure.ac: Add GCC_BASE_VER. > > * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to > > get version from BASE-VER file. > > *

Re: [PATCH] Introduce --with-gcc-major-version-only configure option (take 2)

2017-01-19 Thread Franz Sirl
Am 2017-01-12 um 21:16 schrieb Jakub Jelinek: libmpx/ * configure.ac: Add GCC_BASE_VER. * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to get version from BASE-VER file. * configure: Regenerated. Hi, it seems libmpx/configure.ac is missing

Re: [PATCH] Introduce --with-gcc-major-version-only configure option (take 2)

2017-01-13 Thread Richard Biener
On Thu, Jan 12, 2017 at 9:16 PM, Jakub Jelinek wrote: > Hi! > > On Tue, Jan 10, 2017 at 07:56:36AM +0100, Jakub Jelinek wrote: >> As I said on IRC, I think -dumpversion of 7 in this configuration is the >> right thing to do. In GCC sources, we have 3 uses of -dumpversion, >>