mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-28 16:14:04 +02:00
Added notes on Cygwin mount, as well as changing from textmode to binmode
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1795 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
81dbf46f98
commit
1095e1fc18
@ -221,6 +221,8 @@ install cygwin it gives you the choice of Unix file mode (recommended) or DOS
|
|||||||
file mode. Unix mode will cause all the cygwin directories to be mounted in
|
file mode. Unix mode will cause all the cygwin directories to be mounted in
|
||||||
binmode, while DOS will mount the dirs in textmode. Here is an example of a
|
binmode, while DOS will mount the dirs in textmode. Here is an example of a
|
||||||
cygwin install where the dirs are (properly) mounted in binmode.
|
cygwin install where the dirs are (properly) mounted in binmode.
|
||||||
|
To view mount information, type:
|
||||||
|
mount
|
||||||
|
|
||||||
C:\cygwin\bin on /usr/bin type user (binmode)
|
C:\cygwin\bin on /usr/bin type user (binmode)
|
||||||
C:\cygwin\lib on /usr/lib type user (binmode)
|
C:\cygwin\lib on /usr/lib type user (binmode)
|
||||||
@ -228,7 +230,12 @@ c:\workspace on /workspace type system (binmode)
|
|||||||
C:\cygwin on / type user (binmode)
|
C:\cygwin on / type user (binmode)
|
||||||
|
|
||||||
If you use textmode, it is likely that the build will fail in a way that is
|
If you use textmode, it is likely that the build will fail in a way that is
|
||||||
hard to debug.
|
hard to debug. Textmode is required to retain or add the DOS ^M characters
|
||||||
|
in DOS batch files during file editing sessions.
|
||||||
|
|
||||||
|
You can switch from textmode to binmode for compilation by executing the
|
||||||
|
following:
|
||||||
|
mount -b --change-cygdrive-prefix cygdrive
|
||||||
|
|
||||||
Cygwin is pretty slow, so it is not recommended for large builds.
|
Cygwin is pretty slow, so it is not recommended for large builds.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user