Re: OpenBSD compile
Hi,
Here is my sys info:
#uname -a
OpenBSD parta.com.tr 4.6 GENERIC.MP#137 amd64
# gcc -v
Reading specs from /usr/lib/gcc-lib/amd64-unknown-openbsd4.6/3.3.5/specs
Configured with:
Thread model: single
gcc version 3.3.5 (propolice)
that parameters worked for me:
CFLAGS="-O3" \
CXX=gcc \
CXXFLAGS="-O3 \
-felide-constructors \
-fno-exceptions \
-fno-rtti" \
./configure \
--enable-assembler \
--with-mysqld-ldflags=-static \
--prefix=/path/to/mysql \
--localstatedir=/path/to/mysql/data \
--with-mysqld-user=mysql \
--with-unix-socket-path=/tmp/mysql.sock \
--without-comment \
--without-debug \
--without-libedit
You can also build mysql from ports tree.
Subject
Views
Written By
Posted
7133
August 14, 2009 05:14PM
2840
August 14, 2009 06:05PM
2673
August 18, 2009 09:25AM
Re: OpenBSD compile
3084
August 22, 2009 03:45AM
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.