summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorFrantišek Dvořák <valtri@users.sourceforge.net>2005-11-28 12:20:24 +0000
committerFrantišek Dvořák <valtri@users.sourceforge.net>2005-11-28 12:20:24 +0000
commite9ad6a71dbf9f5f0b1e249ad7969afa1fd8665ba (patch)
tree734b73eab2682d305c088c395cfab203e3a4cc6f /doc
parentc1a1adacadaf8c64e9032b81ee882277510f5db7 (diff)
downloadxine-lib-e9ad6a71dbf9f5f0b1e249ad7969afa1fd8665ba.tar.gz
xine-lib-e9ad6a71dbf9f5f0b1e249ad7969afa1fd8665ba.tar.bz2
*BUGFIX*
Tiny doc update. CVS patchset: 7814 CVS date: 2005/11/28 12:20:24
Diffstat (limited to 'doc')
-rw-r--r--doc/README.MINGWCROSS24
1 files changed, 5 insertions, 19 deletions
diff --git a/doc/README.MINGWCROSS b/doc/README.MINGWCROSS
index 69b70ff71..87ae57b60 100644
--- a/doc/README.MINGWCROSS
+++ b/doc/README.MINGWCROSS
@@ -42,7 +42,7 @@ Download
Build
-----
-In following text are used symbols $PREFIX and $USER with this meaning:
+In the following text are used symbols $PREFIX and $USER with this meaning:
$PREFIX .... directory of the mingw cross environtment
$USER ...... current user
@@ -70,15 +70,6 @@ In following text are used symbols $PREFIX and $USER with this meaning:
3. compile compiler (gcc-core, gcc-c++)
#
- # it's always good doing things under unprivileged user,
- # this commands ensure write permission to target
- #
- su
- chmod g+w $PREFIX{/lib,/i386-mingw32{/,/lib}}
- chown root:$USER $PREFIX{/lib,/i386-mingw32{/,/lib}}
- exit
-
- #
# prepare runtime environment from binaries
#
mkdir runtime
@@ -96,7 +87,9 @@ In following text are used symbols $PREFIX and $USER with this meaning:
tar xzf gcc-core-3.3.1-20030804-1-src.tar.gz
tar xzf gcc-g++-3.3.1-20030804-1-src.tar.gz
mkdir gcc-bin
- cd gcc-bin
+ cd gcc-bin
+ # needed for the copying header files
+ su
# more option may be needed for successfull compilation,
# see gcc-3.3.1-1-build.sh
../gcc-3.3.1-20030804-1/configure \
@@ -105,20 +98,13 @@ In following text are used symbols $PREFIX and $USER with this meaning:
--with-headers=../runtime/include \
--with-libs=../runtime/lib \
--prefix=$PREFIX
+ exit
make
#or recommended: make CFLAGS=-O2 LDFLAGS=-s
su
make install
exit
- #
- # set the permissions back
- #
- su
- chmod -R g-w $PREFIX
- chown -R root:root $PREFIX
- exit
-
4. recompile w32api and mingw-runtime from sources (optional)