Fix the CLASSPATH
[mirror_edk2.git] / Tools / gcc / README.txt
1 You may run these scripts to build a Tiano Cross compiler. They have been
2 tested on Cygwin, OS X and Linux. You should expect to hack on these scripts to
3 make them work on your system. You may need to install additional tools on your
4 system to make the scripts work.
5
6 You will need
7
8 A recent version (3.0 or later should be fine) of gcc that is able to produce
9 executables for the machine that you want to run this compiler on (the host
10 machine).
11 wget or curl
12 tar
13 bzip
14 gzip
15 bash
16 and possibly others
17
18 CYGWIN Notes
19
20 You should setup cygwin to use binmode on all mounts. When you initially
21 install cygwin it gives you the choice of Unix file mode (recommended) or DOS
22 file mode. Unix mode will cause all the cygwin directories to be mounted in
23 binmode, while DOS will mount the dirs in textmode. Here is an example of a
24 cygwin install where the dirs are (properly) mounted in binmode.
25
26 C:\cygwin\bin on /usr/bin type user (binmode)
27 C:\cygwin\lib on /usr/lib type user (binmode)
28 c:\workspace on /workspace type system (binmode)
29 C:\cygwin on / type user (binmode)
30
31 If you use textmode, it is likely that the build will fail in a way that is
32 hard to debug.
33
34 Cygwin is pretty slow, so it is not recommended for large builds.
35