[bind10-dev] Inconsistencies in configure behaviour

Michal 'vorner' Vaner vorner at ucw.cz
Sat Sep 4 18:59:33 UTC 2010


Good morning

I experimented a little with various parameters of configure and found these
three problems:
• If it is run with --disable-static, the compilation fails with unresolved
  externals. However, --disable-static is in the output of --help, so it should
  be either removed from there or it should work.
• CXXFLAGS variable is ineffective. No matter what I set there, it is
  overwritten with -g, however, CPPFLAGS work. Shouldn't it be that -g is set
  only if there is nothing in the flags before, like a default value?
• Wiki describes 4 commands to create the configure script (aclocal, automake,
  …). However, they do not work for me, one file is missing (ltmain.sh). Short
  look trough the Internet says I should use „autoreconf -i“, which works and is
  said to prevent future incompatibilities such as this one. Does autoreconf
  work for other people too? If yes, I think the wiki should be updated.

Should I create a ticket for that? Or try to fix it?

As a side note ‒ when we measure some kind of performance, do we use -O2 or
something? The default is no optimisations, but I think whole STL's performance
is based on assumption that the compiler does good inlining.

Thank you

-- 
I've already told you more than I know.

Michal 'vorner' Vaner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/bind10-dev/attachments/20100904/f5f56621/attachment.bin>


More information about the bind10-dev mailing list