summaryrefslogtreecommitdiff
path: root/Docs/linuxthreads.txt
diff options
context:
space:
mode:
authorunknown <sasha@mysql.sashanet.com>2002-02-15 14:02:48 -0700
committerunknown <sasha@mysql.sashanet.com>2002-02-15 14:02:48 -0700
commit1e94643c61e3d1144cd7ecacd94775a17158446f (patch)
tree42549a60ef8fbd65354c15cfa7793feb2f9bb106 /Docs/linuxthreads.txt
parent4c164621185c8493de06281ae68ef35f977c13a9 (diff)
downloadmariadb-git-1e94643c61e3d1144cd7ecacd94775a17158446f.tar.gz
updates for the new build
configure.in: support for static nss on Linux when compiling --with-other-libc mysql-test/mysql-test-run.sh: --user-test option
Diffstat (limited to 'Docs/linuxthreads.txt')
-rw-r--r--Docs/linuxthreads.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/Docs/linuxthreads.txt b/Docs/linuxthreads.txt
new file mode 100644
index 00000000000..0989f8d3718
--- /dev/null
+++ b/Docs/linuxthreads.txt
@@ -0,0 +1,15 @@
+Notes on compiling glibc for the standard MySQL binary:
+
+ - make sure you have gcc 2.95 and gmake 3.79 or newer
+ - wget ftp://ftp.gnu.org/pub/gnu/glibc/glibc-2.2.5.tar.gz
+ - wget ftp://ftp.gnu.org/pub/gnu/glibc/glibc-linuxthreads-2.2.5.tar.gz
+ - tar zxvf glibc-2.2.5.tar.gz ; cd glibc-2.2.5 ;
+ tar zxvf ../glibc-linuxthreads-2.2.5.tar.gz
+ - in linuxthreads/internals.h change STACK_SIZE to (128*1024)
+ - in linuxthreads/sysdeps/unix/sysv/linux/bits/local_lim.h change
+ PTHREAD_THREADS_MAX to 4096
+ - ./configure --prefix=/usr/local/mysql-glibc --enable-static-nss --disable-shared --enable-add-ons=linuxthreads
+ - make
+ - possible problems - if compiler is not properly installed, one can get
+ "cpp: too many input" files error - easiest way to solve - SUSE RPM for gcc
+ 2.95