2006-04-27 01:04:39 +02:00
|
|
|
You may run these scripts to build a Tiano Cross compiler. They have been
|
|
|
|
tested on Cygwin, OS X and Linux. You should expect to hack on these scripts to
|
|
|
|
make them work on your system. You may need to install additional tools on your
|
|
|
|
system to make the scripts work.
|
|
|
|
|
|
|
|
You will need
|
|
|
|
|
2006-04-28 03:30:31 +02:00
|
|
|
A recent version (3.0 or later should be fine) of gcc that is able to produce
|
|
|
|
executables for the machine that you want to run this compiler on (the host
|
|
|
|
machine).
|
2006-04-27 01:04:39 +02:00
|
|
|
wget or curl
|
|
|
|
tar
|
|
|
|
bzip
|
|
|
|
gzip
|
|
|
|
bash
|
|
|
|
and possibly others
|
|
|
|
|
2006-04-27 19:55:26 +02:00
|
|
|
CYGWIN Notes
|
|
|
|
|
2006-04-28 03:30:31 +02:00
|
|
|
You should setup cygwin to use binmode on all mounts. When you initially
|
|
|
|
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
|
|
|
|
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.
|
2006-04-27 19:55:26 +02:00
|
|
|
|
2006-04-28 03:30:31 +02:00
|
|
|
C:\cygwin\bin on /usr/bin type user (binmode)
|
|
|
|
C:\cygwin\lib on /usr/lib type user (binmode)
|
2006-04-27 19:55:26 +02:00
|
|
|
c:\workspace on /workspace type system (binmode)
|
2006-04-28 03:30:31 +02:00
|
|
|
C:\cygwin on / type user (binmode)
|
2006-04-27 19:55:26 +02:00
|
|
|
|
2006-04-28 03:30:31 +02:00
|
|
|
If you use textmode, it is likely that the build will fail in a way that is
|
|
|
|
hard to debug.
|
|
|
|
|
|
|
|
Cygwin is pretty slow, so it is not recommended for large builds.
|
2006-04-27 19:55:26 +02:00
|
|
|
|