I notice that building AOLserver 3.5.1 (from cvs, latest on the
eaolserver_v35_bp branch), on Solaris (SunOS 5.8) like so:

  ./configure --enable-symbols ; gmake

passes gcc the -g option, only.  If I leave off the --enable-symbols,
I get -O, only.  Why was -O chosen, rather than say -O2 ?

Also, normally I've been compiling with -g -O2.  What is the
recomended to accomplish that with this new build system?  Edit
include/Makefile.global like I always have in the past, even though
it's now a generated file?  (Doing so seems to work nicely for this
very simple change, btw.)

The -g option seems to be set in configure.  Actually, there's at
least one code path in there that says "-g -O2", but damned if I know
what magic switch to pull to make the -g -O2 come out.

I am new to this autoconf stuff.  In general, what's the recomended
way for hacking on the AOLserver build process?  Come up to speed on
autoconf and actually use it?  Or some other way?

--
Andrew Piskorski <[EMAIL PROTECTED]>
http://www.piskorski.com

Reply via email to