output of "cc1 --version"

Manuel López-Ibáñez lopezibanez@gmail.com
Wed Feb 6 12:57:00 GMT 2008


On 06/02/2008, Vincent Lefevre <vincent+gcc@vinc17.org> wrote:
> I have here:
>
> Shouldn't it give more information about the GMP and MPFR versions,
> such as the library versions used at runtime?

Those are the library versions used at runtime, aren't they?

> FYI, I use the following code (or similar) in my programs:

See gcc/toplev.c (print_version) for the relevant code in GCC. (It
gives a warning when there is a mismatch between runtime and header
versions, otherwise it just prints the latter).

Cheers,

Manuel.



More information about the Gcc mailing list