On Wed, 9 Feb 2022 at 10:13, Liviu Ionescu <i...@livius.net> wrote:
> > On 9 Feb 2022, at 11:57, Stefan Hajnoczi <stefa...@redhat.com> wrote:
> >
> >
> > Is the existing ./configure --with-pkgversion= option not enough?
>
> My understanding of --with-pkgversion=, based on the fact that in QEMU this 
> string is appended to the version, was that it is a suffix that describes a 
> specific version.
>
> Most GNU tools, including GCC, binutils, etc, use a similar option, but the 
> string is prepended to the greeting message.

gcc doesn't prepend the pkgversion string to the greeting. Taking
the distro gcc as an example, 'gcc -v' prints out the configure options
used, which include
--with-pkgversion='Ubuntu 9.3.0-17ubuntu1~20.04'

and 'gcc --version' prints the version as:
gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0

which is fairly similar to what qemu does today:
QEMU emulator version 4.2.1 (Debian 1:4.2-3ubuntu6.19)

(we just have the pkgversion and the upstream version swapped).

-- PMM

Reply via email to