summaryrefslogtreecommitdiff
path: root/Docs/linuxthreads.txt
diff options
context:
space:
mode:
authorsasha@mysql.sashanet.com <>2002-02-23 14:42:32 -0700
committersasha@mysql.sashanet.com <>2002-02-23 14:42:32 -0700
commit5a34e9d250949118e364d242ded275130d8f04e6 (patch)
treeab2e0e90e33b0bd05ee8670f604c328b5672693d /Docs/linuxthreads.txt
parentb0658731631a30b4c3f8123571f28df5cb780546 (diff)
downloadmariadb-git-5a34e9d250949118e364d242ded275130d8f04e6.tar.gz
updated glibc build instructions
Diffstat (limited to 'Docs/linuxthreads.txt')
-rw-r--r--Docs/linuxthreads.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/Docs/linuxthreads.txt b/Docs/linuxthreads.txt
index 0989f8d3718..30270125c0d 100644
--- a/Docs/linuxthreads.txt
+++ b/Docs/linuxthreads.txt
@@ -5,11 +5,13 @@ Notes on compiling glibc for the standard MySQL binary:
- 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
+ - patch -p1 < ~/bk/mysql/Docs/glibc-2.2.5.patch
+ - ./configure --prefix=/usr/local/mysql-glibc --enable-static-nss \
+ --disable-shared --enable-add-ons=linuxthreads --target=i386 \
+ --host=i386-pc-linux-gnu
- 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
+ - surun make install
+ - To build the binaries, run Build-tools/Do-linux-build