MySQL Forums
Forum List  »  Source, Builds, Binaries

cmake compile for 64 bit
Posted by: Christine Ross
Date: November 17, 2014 11:37AM

I posted this on the perl forum by mistake.

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


Subject
Views
Written By
Posted
cmake compile for 64 bit
2787
November 17, 2014 11:37AM
1592
November 18, 2014 06:04PM


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.