[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi] Managing multiple wx builds
From: |
Greg Chicares |
Subject: |
[lmi] Managing multiple wx builds |
Date: |
Wed, 29 Mar 2006 21:48:59 +0000 |
User-agent: |
Mozilla Thunderbird 1.0.2 (Windows/20050317) |
What's the best way to set up distinct, multiple builds of identical
wx sources? Here's what I've done so far, with differences underlined
by '^':
One build:
built in wxWidgets/gcc_342 with gcc-3.4.2
configure --enable-debug_flag ... && make
make install prefix=/c/usr/local
Another build:
built in wxWidgets/gcc_345 with gcc-3.4.5
^ ^
configure --enable-debug VENDOR=gcc345 ... && make
^^^^^^^^^^^^^
make install prefix=/c/usr2/local
^
That's almost ideal, but not quite. I'd like to install everything to
the same directory, with distinct names where needed. It makes sense
to have only one copy of the headers, and indeed these directories
/usr/local/include/wx-2.7/wx/
/usr2/local/include/wx-2.7/wx/
have identical contents. And these files differ
/usr/local/bin/wxrc-2.7
/usr2/local/bin/wxrc-2.7
/usr/local/bin/wxrc.exe
/usr2/local/bin/wxrc.exe
but I don't think I need to care--they seem to be some optional tool
that I don't need. However, these pairs of files
/usr/local/lib/libwx_mswd-2.7.dll.a
/usr2/local/lib/libwx_mswd-2.7.dll.a
/usr/local/lib/wx/include/msw-ansi-debug-2.7/wx/setup.h
/usr2/local/lib/wx/include/msw-ansi-debug-2.7/wx/setup.h
necessarily differ, but share the same names, while these two
/usr/local/bin/wx-config
/usr2/local/bin/wx-config
are identical, but I'd like them to have different names. Is that
possible?
Specifying 'VENDOR=' when configuring gives a unique name to the dll
/usr2/local/lib/wxmsw270d_gcc_gcc345.dll
and if it, or some other variable, could also change the underlined
parts of these names
/usr/local/lib/libwx_mswd-2.7.dll.a
^^^^^^^^^^^^^^
/usr/local/lib/wx/include/msw-ansi-debug-2.7/wx/setup.h
^^^^^^^^^^^^^^^^^^
and add something to distinguish the name of 'wx-config', then I
think I'd be all set.
Maybe 'wx-config' is a special case, and should always have the
same name, but then it would be enough to have exact copies of it
with distinguishable names, such as
/usr/local/bin/wx-config
/usr/local/bin/wx-$(VENDOR)-config [identical contents]
or, alternatively, in different directories, as is already done
for 'setup.h':
/usr/local/lib/wx/include/msw-ansi-debug-2.7/wx/setup.h
+ /usr/local/lib/wx/include/msw-ansi-debug-2.7/wx/wx-config
+ /usr/local/lib/wx/include/msw-$(VENDOR)-2.7/wx/wx-config
How much of this is possible with 'config' options that I haven't
understood yet?
- [lmi] Managing multiple wx builds,
Greg Chicares <=