MySQL Forums
Forum List  »  Perl

cmake compile for 64 bit
Posted by: Christine Ross
Date: November 15, 2014 10:18AM

I have 32 bit mysql, compiled from source on Sparc 64 bit Solaris 10. I have to upgrade mysql to newer versions which require using CMAKE. I did this for another application that used Suns CC Compiler, without any compiler flags, and it built a 32 bit version of mysqld (server).

The CMAKE documentation say that to get 32bit, you specify -m32, but it doesn't say anything about requiring a flag for 64 bit.

If I use gcc or CC, do I need a flag to compile 64 bit mysql using CMAKE.

Does anyone have a good configuration line to compile 64 bit solaris or do I just put -m64 for gcc or CC please?

I'm also looking to create a mysqld binary that will make use of a multi-core T4-2 server. If there are any additional compile options for this, please let me know.

Thanks very much.

Options: ReplyQuote

Written By
cmake compile for 64 bit
November 15, 2014 10:18AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.