source: Daodan/MinGW/msys/1.0/share/doc/MSYS/MSYS_VS_CYGWIN@ 1153

Last change on this file since 1153 was 1046, checked in by alloc, 8 years ago

Daodan: Added Windows MinGW and build batch file

File size: 4.0 KB
Line 
1File: MSYS_VS_CYGWIN
2Copyright (C): 2001: Earnie Boyd <earnie@users.sf.net>
3Distribution Rights: See MSYS_LICENSE
4File Revision: 1.0.4
5File Revision Date: 2002.01.25
6
7mount: The mount command is only used to display all mount points. The mount
8points for the very important are automounted. Nothing is stored in the Win32
9registry database. If you wish to add other mount points, ones that aren't
10auto mounted, then you may do so in the /etc/fstab file. i
11
12ROOTPATH "/": The "/" auto mount point is currently a reference to the parent
13directory of the directory containing the msys-1.0.dll file.
14<strikeout>In later releases
15the / will be a reference to a pseudo device that points to the mount points.
16I.E. in a later release it is planned that `ls /' will list the mount points.
17</strikeout> I plan to do something but it won't be as previously stated.
18
19/bin: The /bin auto mount point is a reference to the directory containing the
20msys-1.0.dll file. I.E. if the path to msys-1.0.dll is
21C:\msys\1.0\bin\msys-1.0.dll then /bin resolves to C:\msys\1.0\bin.
22
23/tmp: The /tmp auto mount point is a reference to the directory that is
24referenced by the Win32 TMP environment variable. I.E. if the win32 TMP
25environment variable value is C:\TEMP then the /tmp mount point resolves to
26C:\TEMP.
27
28/usr: The /usr auto mount point is a reference to the parent directory of the
29directory containing the msys-1.0.dll file. I.E. if the path to msys-1.0.dll
30is C:\msys\1.0\bin\msys-1.0.dll then the /usr mount point resolves to
31C:\msys\1.0.
32
33/cygdrive: There is no such item. All devices and mapped shares are auto
34mounted with the device letter as the mount point. E.G.: the C:\ drive is
35referenced as /c.
36
37/etc/fstab: If this file exists then it is read for user specified mount
38points. The form of the record is [PHYSICAL PATH][WHITE SPACE][MOUNT POINT]
39where [WHITE SPACE] is one or more spaces and/or tabs.
40
41binary vs text: File processing mode is set to binary. This is not changeable.
42I had originally planned to set this to text mode processing but ran into
43various problems of which volumes have been written in the Cygwin archives.
44For release 1.0 of MSYS this means that you cannot have \r\n line endings on
45text files. In a future release it is planned to "Do The Right Thing" and
46predetermine the type of file being opened and set text or binary processing
47as appropriate for reading files. Or, predetermine the type of file and as the
48file is being read remove the \r from the end of the line.
49
50uname -s: The default system name is returned as MSYS_NT-4.0, if you're on
51NT 4.0. However you could export MSYSTEM=MINGW32 as change the returned value
52for `uname -s' to MINGW32_NT-4.0. This is done to aid the use of MSYS with
53MinGW and configuration scripts will determine that it is a MINGW32 build
54system.
55
56--added in version 1.0.2--
57/bin and /usr/bin: These are currently reserved for MSYS programs only (MSYS
58programs are progrms that depend on the msys-1.0.dll file). It will be unlikely
59that non-MSYS programs will execute properly if they exist in /bin and /usr/bin.
60
61POSIX paths in arguments: POSIX paths passed as arguments on the command line
62are now converted to WIN32 paths. This is only true for programs that don't
63exist in the /bin and /usr/bin paths. POSIX paths are determined by i) a '/'
64character in the argument and ii) the argument must not be two characters long.
65The two character filter is done so that WIN32 parameters of the type /x can be
66passed to the WIN32 program. This allows you to do `write /p /mydocuments/abc'
67and the write.exe program found in the c:\WINNT\System32 directory on my
68system can print to the printer on lpt1 the c:\msys\1.0\mydocments\abc file.
69
70--added in version 1.0.3--
71More robust checking for filesystem paths on arguments.
72
73--added in version 1.0.4--
74Symlink resolution.
75diff, diff3 and head to the distribution.
76--removed in version 1.0.4--
77Requirement that the path must begin with /.
78bash from the distribution.
79
80--removed in version 1.0.11--
81Requirement that /bin and /usr/bin are reserved for MSYS programs only.
Note: See TracBrowser for help on using the repository browser.