2008-11-05 Zoltan Varga <vargaz@gmail.com>
authorZoltan Varga <vargaz@gmail.com>
Wed, 5 Nov 2008 14:57:49 +0000 (14:57 -0000)
committerZoltan Varga <vargaz@gmail.com>
Wed, 5 Nov 2008 14:57:49 +0000 (14:57 -0000)
commite40dca154ecb4535d72ea63a5eff2d0e6ee401b3
tree03a76cff45b7db0258460a7543c3c2b5a3f083bc
parent7152c53ae267a5f9809ac70b70b8fda2d61289d0
2008-11-05  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mono_build_date): New global version holding the build date in
string format.

* Makefile.am (buildver.c): Generate a file containing the build date.

* main.c: Set the build date from the generated file.

* mini.c (mono_get_runtime_build_info): New helper function returning build
information in a string format.

* driver.c (mono_main): Print the build date in --version.

* aot-compiler.c aot-runtime.c: Embed the build information into the AOT
file when the bind-to-runtime-version option is used.

svn path=/trunk/mono/; revision=117978
mono/mini/main.c