From e62f0e90864557e5b4958fd11912b3dfe6ba2268 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 2 Feb 2015 23:26:57 +0000 Subject: Add a log message entry about the 32/64 bitness of the build target. --- src/lib/film.cc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/lib') diff --git a/src/lib/film.cc b/src/lib/film.cc index ecc98d7dc..e19d98df0 100644 --- a/src/lib/film.cc +++ b/src/lib/film.cc @@ -309,6 +309,14 @@ Film::make_dcp () GetVersionEx (&info); LOG_GENERAL ("Windows version %1.%2.%3 SP %4", info.dwMajorVersion, info.dwMinorVersion, info.dwBuildNumber, info.szCSDVersion); #endif + +#if __GNUC__ +#if __x86_64__ + LOG_GENERAL_NC ("Built for 64-bit"); +#else + LOG_GENERAL_NC ("Built for 32-bit"); +#endif +#endif LOG_GENERAL ("CPU: %1, %2 processors", cpu_info(), boost::thread::hardware_concurrency ()); list > const m = mount_info (); -- cgit v1.2.3