From e9ad6a71dbf9f5f0b1e249ad7969afa1fd8665ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Mon, 28 Nov 2005 12:20:24 +0000 Subject: *BUGFIX* Tiny doc update. CVS patchset: 7814 CVS date: 2005/11/28 12:20:24 --- doc/README.MINGWCROSS | 24 +++++------------------- 1 file changed, 5 insertions(+), 19 deletions(-) (limited to 'doc') 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 @@ -69,15 +69,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 # @@ -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) -- cgit v1.2.3