summaryrefslogtreecommitdiffstats
path: root/doc/started/nt.t
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-04-14 15:16:35 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-04-14 15:16:35 +0000
commit7137f8f7c1e90b69dc5ce738d2715e6724054272 (patch)
tree7c513528baf85f657e6b7d21c11228b780d62ade /doc/started/nt.t
parent513196f12b46e8240615ae45485bbecef1ac7045 (diff)
downloadrtems-7137f8f7c1e90b69dc5ce738d2715e6724054272.tar.bz2
Comments from Geoffroy Montel
Diffstat (limited to 'doc/started/nt.t')
-rw-r--r--doc/started/nt.t35
1 files changed, 26 insertions, 9 deletions
diff --git a/doc/started/nt.t b/doc/started/nt.t
index 8f6305df24..6de8c1ca63 100644
--- a/doc/started/nt.t
+++ b/doc/started/nt.t
@@ -7,6 +7,9 @@
@c
@set CYGWIN-VERSION B19
+@set CYGWIN-FTP http://www.cygnus.com/misc/gnu-win32
+@set DOS2UNIX-FTP ftp://ftp.micros.hensa.ac.uk/platforms/ibm-pc/ms-dos/simtelnet/txtutl/dos2unix.zip
+@set PFE-FTP http://www.lancs.ac.uk/people/cpaap/pfe/
@chapter Using MS-Windows as a Development Host
@@ -53,7 +56,7 @@ the GNU @code{zip} and @code{tar} programs as shown below:
tar -xzvf archive.gzip
@end example
-XXX Is tar provided with Cygwin32? If not, recommend a url.
+@code{tar} is provided with Cygwin32.
@subsection Text Editor
@@ -61,8 +64,8 @@ You absolutely have to use a text editor which can
save files with Unix format (so don't use Notepad
nor Wordpad). If you do not have an appropriate
text editor, try @b{Programmers File Editor}, it is
-free and very convenient (see
-http://www.lancs.ac.uk/people/cpaap/pfe/).
+free and very convenient. This editor may be downloaded
+from @href{@value{PFE-FTP},,@value{PFE-FTP}}.
@subsection Bug in Patch Utility
@@ -76,6 +79,10 @@ be used to put them back into Unix format as shown below:
dos2unix XXX
@end example
+The dos2unix utility may be downloaded from:
+
+@href{@value{DOS2UNIX-FTP},,,@value{DOS2UNIX-FTP}}.
+
@subsection Files Needed
This section lists the files required to build and install
@@ -89,10 +96,10 @@ Web browser or ftp client.
@table @b
@item cdk.exe
-http://www.cygnus.com/misc/gnu-win32
+@ref{@value{CYGWIN-FTP},,@value{CYGWIN-FTP}}
@item usertools.exe
-http://www.cygnus.com/misc/gnu-win32
+@ref{@value{CYGWIN-FTP},,@value{CYGWIN-FTP}}
@end table
@@ -141,7 +148,17 @@ mkdir /build
mkdir /usr
@end example
-@item Copy "sh.exe" in /bin. @b{XXX to where, WHY?}
+@item The light Bourne shell provided with Cygwin B19 is buggy.
+You should copy it to a fake name and copy @code{bash.exe} to @code{sh.exe}:
+
+@example
+cd <RTOS>/GnuWin32/b19/bin
+mv sh.exe old_sh.exe
+cp bash.exe sh.exe
+@end example
+
+The Bourne shell often has to be present in /bin directory when installing
+new packages.
@item Open the file
@code{/gnuwin32/b19/H-i386-cygwin32/lib/gcc-lib/i386-cygwin32/2.7-b19/specs},
@@ -183,7 +200,7 @@ command to configure @value{BINUTILS-VERSION}:
@example
@value{BINUTILS-UNTAR}/configure --verbose --target=m68k-rtems \
--prefix=/gcc-m68k-rtems --with-gnu-as \
- --with-gnu-ld --with-targets=all --with-newlib
+ --with-gnu-ld --with-targets=all --with-newlib --with-multilib
@end example
Replace @code{m68k-rtems} with the target configuration
@@ -230,7 +247,7 @@ to the cross-compiler executables to your search path
by adding the following line:
@example
-PATH=\gcc-m68k-rtems\bin;%PATH%
+PATH=O:\gcc-m68k-rtems\bin;%PATH%
@end example
@item You can erase the /build directory content.
@@ -277,7 +294,7 @@ or Objective-C):
@example
../@value{GCC-UNTAR}/configure --verbose --target=m68k-rtems \
--prefix=/gcc-m68k --with-gnu-as --with-gnu-ld \
- --with-targets=all --with-newlib
+ --with-targets=all --with-newlib --with-multilib
@end example
Replace @code{m68k-rtems} with the target configuration