Tom Mueller wrote:
> I tried this option on several other compilers.
>
> On Windows, it gives a warning that the option is not recognized. But
> the compile does complete.
>
> On AIX, it gives a warning for solver.o:
>
> 1500-036: (I) The NOSTRICT option (default at OPT(3)) has the
> potential to alter the semantics of a program. Please refer to
> documentation on the STRICT/NOSTRICT option for more information.
>
> On Linux and Mac OS, we use gcc so it should be ok.
What would you recommend? I can do
compile_args = None
if osname in ("sunos", "linux", "darwin"):
compile_args = [ "-O3" ]
I can do the compiler test, I suppose, but there's very little support in
distutils for doing any testing. But if I do end up doing that, then what
flag should I pass to the AIX compiler to test that it is the AIX compiler?
Though it seems like -O3 is doing what you'd expect (optimization level 3),
only that either is more on AIX than for other compilers, or simply
produces the warning. So some guidance would be helpful here.
Thanks,
Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss