Re: MySQL 5.6, CMake and Mingw-builds

Tor Didriksen <[email protected]> Thu, 10 Apr 2014 15:46:46 +0200
Newsgroups gmane.comp.db.mysql.devel
Message-ID <[email protected]>
On 2014-04-10 13:04, David Tran wrote:
> Hi to everyone
>

Hello David

Those declarations in include/my_pthread.h are protected by
#if defined(__WIN__)

and __WIN__ is probably defined by your compiler.

We only build with Visual Studio on Windows these days,
no mingw or cygwin.

My guess is that porting to mingw would require considerable effort.

Sorry for not being able to help.

-- didrik

> I downloaded mysql-5.6.17, cmake-2.8.12.2-win32-x86 and mingw-builds 
> (x32-4.8.1-release-posix-dwarf-rev5 and 
> msys+7za+wget+svn+git+mercurial+cvs-rev13).
>
> CMake .. -G "MSYS Makefiles" finishes with:
>
> -- Build files have been written to: E:/mingw32/msys/mysql-5.6.17/bld
>
> but "make" has ERRORS:
>
> extra/yassl/CMakeFiles/yassl.dir/build.make:346: recipe for target 
> `extra/yassl/
> CMakeFiles/yassl.dir/__/__/client/get_password.c.obj' failed
> make[2]: *** 
> [extra/yassl/CMakeFiles/yassl.dir/__/__/client/get_password.c.obj]
> Error 1
> CMakeFiles/Makefile2:198: recipe for target 
> `extra/yassl/CMakeFiles/yassl.dir/al
> l' failed
> make[1]: *** [extra/yassl/CMakeFiles/yassl.dir/all] Error 2
> Makefile:146: recipe for target `all' failed
> make: *** [all] Error 2
>
> http://pastebin.com/Ej6akz9w
>
>
> Anysomebody with any ideas?
>
> Cheers
> David
>


-- 
MySQL Internals Mailing List
For list archives: http://lists.mysql.com/internals
To unsubscribe:    http://lists.mysql.com/internals