Cygwin setup

From RISC OS

(Difference between revisions)
Jump to: navigation, search
m (Rephrased a bit + removed need for wget)
(Added notes about autoconf versions)
Line 4: Line 4:
Setting up Cygwin is fairly straight forward. Download and run the [http://www.cygwin.com/setup.exe installer] from the [http://www.cygwin.com/ Cygwin homepage]. Following the default setup will probably be OK. Choose a suitable mirror (e.g. ftp://mirror.ac.uk/) and make sure that the following (binary) packages are installed. (Most are found under the "devel" tree. Alternatively, choose "Full" view for an alphabetical list of all packages.)
Setting up Cygwin is fairly straight forward. Download and run the [http://www.cygwin.com/setup.exe installer] from the [http://www.cygwin.com/ Cygwin homepage]. Following the default setup will probably be OK. Choose a suitable mirror (e.g. ftp://mirror.ac.uk/) and make sure that the following (binary) packages are installed. (Most are found under the "devel" tree. Alternatively, choose "Full" view for an alphabetical list of all packages.)
-
* autoconf
+
* autoconf (version >=2.5)
-
* automake
+
* automake (version >=2.5)
* binutils,
* binutils,
* bison
* bison
Line 17: Line 17:
If any of these are missing or you need to make changes, you can re-run the Cygwin setup program at any time.
If any of these are missing or you need to make changes, you can re-run the Cygwin setup program at any time.
Once this is done, running Cygwin from the Start menu or Desktop icon will present the "bash" console.
Once this is done, running Cygwin from the Start menu or Desktop icon will present the "bash" console.
 +
 +
You may have to specify the version of autoconf and autoheader when you run them:
 +
 +
$ autoconf-2.5
 +
$ autoheader-2.5
If you're not familiar with unix commands it might be worth doing a bit of research with Google. To get you started, you could try:
If you're not familiar with unix commands it might be worth doing a bit of research with Google. To get you started, you could try:

Revision as of 23:40, 29 November 2006

Cygwin is a Linux-like environment for Windows. It can be used to cross-compile Linux applications for RISC OS.

Setting up Cygwin

Setting up Cygwin is fairly straight forward. Download and run the installer from the Cygwin homepage. Following the default setup will probably be OK. Choose a suitable mirror (e.g. ftp://mirror.ac.uk/) and make sure that the following (binary) packages are installed. (Most are found under the "devel" tree. Alternatively, choose "Full" view for an alphabetical list of all packages.)

  • autoconf (version >=2.5)
  • automake (version >=2.5)
  • binutils,
  • bison
  • flex
  • gcc
  • gcc-core
  • gcc-g++
  • gperf
  • make
  • svn

If any of these are missing or you need to make changes, you can re-run the Cygwin setup program at any time. Once this is done, running Cygwin from the Start menu or Desktop icon will present the "bash" console.

You may have to specify the version of autoconf and autoheader when you run them:

$ autoconf-2.5
$ autoheader-2.5

If you're not familiar with unix commands it might be worth doing a bit of research with Google. To get you started, you could try:

Links

Personal tools