[Botan-devel] patch: configure.pl correctly detects mingw environment
lloyd at randombit.net
Tue Sep 30 09:52:39 EDT 2008
On Tue, Sep 30, 2008 at 02:36:14PM +0200, Zbigniew Zag??rski wrote:
> patch attached.
Applied to mainline, thank you.
> Genesis: original configure.pl had problems detecting CPU and OS:
> (warning): Could not determine CPU type (try --cpu option)
That is actually strange; it should have at least found something via
> (autoconfig): Guessing to use gcc as the compiler (use --cc to set)
> (warning): Unknown OS ('msys', 'mingw32_nt-5.1'), falling back to
> generic code
> (warning): Enabling -fpermissive to work around possible GCC bug
> Change summary:
> - recognize i686 as ia32 platform
> - add new os type: mingw with aliases msys and mingw32
> - *_win32 modules: enable on mingw OS
> Intuition says that i686 should be detected as ia32 because it's
> submodel of ia32 but it doesn't happen.
Thanks for pointing this out. I agree. I think it is an easy change.
> On mingw
> - uname -p says unknown
> - uname -m says i686
Thanks. Normally I just use the MinGW compilers without MSYS (but
trying it out now).
More information about the botan-devel