lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lmi] Managing multiple wx versions


From: Vaclav Slavik
Subject: Re: [lmi] Managing multiple wx versions
Date: Wed, 31 Dec 2008 23:24:04 +0100

On Wed, 2008-12-31 at 19:37 +0000, Greg Chicares wrote:
> $(config_options) already includes a 'VENDOR' designation,
> which is currently based on `gcc -dumpversion`. I have the
> full wx version available in a variable already; should I
> append that to 'VENDOR', or is there a cleaner way?

Setting the vendor string is the only way I know about (and I'd rather
not add the option to include full version to wx's build system, because
it would complicate it even further).

If you were only concerned with knowing the exact version of a wx DLL,
you could get it from DLL's metadata (aka file Properties in Explorer)
instead of from the filename. But if you want to run different LMI
versions, with different wx-2.8 binaries, from the same directory (is
this really a good idea?), then the vendor string is the only way.

BTW, it's better to use the "official" way of setting the vendor string:

diff -u -r1.10 install_wx.make
--- install_wx.make     27 Dec 2008 02:56:46 -0000      1.10
+++ install_wx.make     31 Dec 2008 22:20:23 -0000
@@ -68,7 +68,7 @@
   --disable-compat24 \
   --disable-vararg_macros \
   --prefix=$(prefix) \
-  VENDOR='$(vendor)' \
+  --enable-vendor='$(vendor)' \
   CPPFLAGS='-DNO_GCC_PRAGMA' \
   CC='$(mingw_bin_dir)/gcc' \
   CXX='$(mingw_bin_dir)/g++' \

And one more thing caught my attention in the diff above: the
-DNO_GCC_PRAGMA flag has no effect with wx-2.8, we got rid of this macro
in 2.8.

Regards,
Vaclav





reply via email to

[Prev in Thread] Current Thread [Next in Thread]