Re: [PATCH] configure: detect version by compiler for build

2020-07-28 Thread Đoàn Trần Công Danh
On 2020-07-28 08:25:00-0300, David Bremner wrote: > Đoàn Trần Công Danh writes: > > > > > Other compile and try run linked with libraries in (autotools') host > > architecture. > > > > Linking with build's libraries doesn't make sense, hence I ignored it. > > And patched downstream. > > > > I

Re: [PATCH] configure: detect version by compiler for build

2020-07-28 Thread David Bremner
Đoàn Trần Công Danh writes: > > Other compile and try run linked with libraries in (autotools') host > architecture. > > Linking with build's libraries doesn't make sense, hence I ignored it. > And patched downstream. > > I don't mind dropping this change and carry it downstream. > I'm afraid I

Re: [PATCH] configure: detect version by compiler for build

2020-07-27 Thread Đoàn Trần Công Danh
On 2020-07-27 20:31:59+0300, Tomi Ollila wrote: > On Mon, Jul 27 2020, Đoàn Trần Công Danh wrote: > > > We'll need to run the compiled binary to report our current version. > > > > With the same code base, we should have the same version information > > regardless of compiler and architecture. >

Re: [PATCH] configure: detect version by compiler for build

2020-07-27 Thread Tomi Ollila
On Mon, Jul 27 2020, Đoàn Trần Công Danh wrote: > We'll need to run the compiled binary to report our current version. > > With the same code base, we should have the same version information > regardless of compiler and architecture. > > Let's use the compiler for building architecture to build