[m-rev.] for review: make gcc version information available to mmc
Julien Fischer
juliensf at csse.unimelb.edu.au
Tue Feb 3 13:18:27 AEDT 2009
On Fri, 30 Jan 2009, Julien Fischer wrote:
>
> Extend the configuration script so that if the C compiler we are
> using is GCC we also try to determine what version of GCC it is.
>
> Make gcc version information available to mmc.
>
> aclocal.m4:
> Add a new macro for determining gcc version information.
>
> configure.in:
> Use the new macro.
>
> Add a suffix to the "gcc" compiler type containing
> the version information. The suffix has the form:
>
> _<x>_<y>_<z>
>
> where x, y, and z are the major and minor
> version numbers, and patch level respectively.
>
> Conform to the above change in a couple of spots.
>
> compiler/globals.m:
> Store gcc version information in c_compiler_type.
>
> Parse the new form of argument for the --c-compiler-type
> option.
>
> compiler/compile_target_code.m:
> Conform to the above change.
I will go ahead and commit this unless there are any further comments.
Julien.
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to: mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions: mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------
More information about the reviews
mailing list