[BUG SUB] silc toolkit contains gcc-isims and CFLAGS when it shouldn\'t - silc toolkit
Pekka Riikonen
priikone at iki.fi
Sun Jun 3 20:20:29 CEST 2007
On Sun, 3 Jun 2007, Torrey McMahon wrote:
: > compiler/OS you were using (what configure said you were using) so that we
: > can set specific case for that.
:
: Solaris and Sun's compilers. You'd want to set -xO[N] where N is between
: 1 and 5. However, with the Sun compilers the options are parsed first to
: last so if I set my CFLAGS to max optimization and then the configure
: script comes in and decides to put "-g -xO2" at the end it overrides
: everything I just set.
:
Yes, well, that can be considered a bug. The order indeed could be so
that what user gives always stays first. I shall fix this. Are there no
-O options with the compiler and if there are, don't they do the same
thing the -xOn does?
: > : Second, MATH_CFLAGS is set and used in some locations and its gcc :
: > specific. That should either be an option or env variable to set at :
: > configure time. > : That's one of the parts we want to compile and
: optimize differently, hence > the MATH_CFLAGS. Even if I'd add support
: for MATH_CFLAGS environment > variable we'd still set our default,
: mandatory, options for all compilers.
:
: The options you're using are gcc dependent and cause lots of error messages
: when using Sun's compiler.
:
That's weird. All options are first checked that they work with the
compiler. So whatever option it puts there the compiler obviously have
accepted. That of course doesn't mean the options are correct options.
Could you please tell me what platform ./configure said you were using.
And if you have figured out with what options the math library works could
you tell me what they are.
Pekka
________________________________________________________________________
Pekka Riikonen priikone at silcnet.org
Secure Internet Live Conferencing (SILC) http://silcnet.org/
More information about the silc-devel
mailing list