lmi
[Top][All Lists]
Advanced

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

[lmi] Re: To configure wx-2.6.2


From: Greg Chicares
Subject: [lmi] Re: To configure wx-2.6.2
Date: Sun, 19 Mar 2006 15:40:35 +0000
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

On 2006-3-19 13:40 UTC, Vadim Zeitlin wrote:
> On Sun, 19 Mar 2006 03:33:38 +0000 Greg Chicares <address@hidden> wrote:
> 
> GC> I think I forgot the wx debug flag and the gcc debug flag too (they're
> GC> distinct).
> 
>  Yes, you may want to include --enable-debug_gdb. It is off by default,
> even with --enable-debug, because it dramatically increases the size of the
> output files.

Thanks for that (and the other valuable information I snipped here).
I imagine that '--enable-debug_gdb' is like 'gcc -ggdb', but how
is that different from '--enable-debug'? I see that '--enable-debug'
is "same as debug_flag and debug_info", and that 'debug_flag' defines
'__WXDEBUG__'; but does
  --enable-debug_info     create code with debugging information
correspond to 'gcc -g' (when using gcc)? I ask because I thought that
adding either '-g' or '-ggdb' increased the size of object files
enormously, but wasn't aware that there was much difference between
the two--is that what you're saying?

Anyway, suppose I want to recompile all with '--enable-debug_gdb'.
My naive method would be to remove my build directory, then
  ../configure && make && make install
again. Is there a simpler way that's reliable? I seem to recall
that the (non-automake) makefiles didn't always do anything even
when I changed source code and ran 'make' again.

Here's another thing that confuses me:

  http://sources.redhat.com/autobook/autobook/autobook_14.html
| If the default is to provide such features, they may be disabled with
| `--disable-feature'
...
| Conversely, some packages may provide features which are disabled by
| default. To enable them, use `--enable-feature'

Now, when I do this:
  /c/wxWidgets-2.6.2/build_3_4_2[0]$../configure --help 2>&1 |less
I see, for example:
  --enable-gui            use GUI classes
Wouldn't that imply that "use GUI classes" is not a default, and must be
explicitly specified? It can't be that way, because 'minimal' works and
I didn't specify '--enable-gui'.

Am I reading too much into whether options are listed in '--help' with
'--enable' versus '--disable'?

Am I correct in supposing that I can find an authoritative listing of
the options actually used by reading
  /wxWidgets-2.6.2/my-build-dir/lib/wx/include/msw-ansi-release-2.6/wx
or is there a better way to find that information?

Oh, and BTW, to run 'minimal' from the MSYS command line, I had to do
  $export PATH=$PATH:/usr/local/lib
I think MSYS puts '/usr/local/bin' on the path by default, but not
'/usr/local/lib'. But of course what wx is doing is correct, and
either MSYS should be changed, or maybe I've damaged my MSYS settings.

Now, 'minimal' works, but the 'help' sample doesn't:

  ---------------------------
  Help Error
  ---------------------------
  Cannot initialize the advanced HTML help system, aborting.
  ---------------------------
  OK
  ---------------------------

I googled for 'Cannot initialize the advanced HTML help system' but
found only pages with the source code, so I guess others don't have
this problem and I must be doing something wrong. Could I have missed
a required option in the configury?




reply via email to

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