summaryrefslogtreecommitdiff
path: root/Docs/linuxthreads.txt
diff options
context:
space:
mode:
authorunknown <sasha@mysql.sashanet.com>2002-02-23 14:42:32 -0700
committerunknown <sasha@mysql.sashanet.com>2002-02-23 14:42:32 -0700
commitecb3cd5b1c1bc84902d122827941c366a0eb0e3a (patch)
treeab2e0e90e33b0bd05ee8670f604c328b5672693d /Docs/linuxthreads.txt
parentacc05440eca09de12ad078163849798cda0b63d2 (diff)
downloadmariadb-git-ecb3cd5b1c1bc84902d122827941c366a0eb0e3a.tar.gz
updated glibc build instructions
Docs/linuxthreads.txt: u
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