Download setup.exe select a mirror and the packages you want to install and it will download and install them for you. Therefor I prefer Cygwin.Ĭygwin has a very easy to use interface for installing, namely setup.exe. But the problem with MinGW is that it is not as mature as Cygwin and therefor problems do (and will) occour. Some claim the Cygwin is bloated and they prefer MinGW, which is a lightweight variant of Cygwin.
Not to mention the amount of hack-work you will avoid (eg. If you think about it for a minute, you will realize that if you want to be part of a community and contribute it would be quite pointless to use a different enviroment than everyone else. This is the beauty of Cygwin, you get the same development enviroment as every one else.
You need Cygwin in order to compile the PS2 ports of GCC ( GNU C Compiler) aswell as other PS2 projects.Īnother reason to get Cygwin is if you create a project which compiles under Cygwin using makefiles and other unix tools, its very likely that this project will also compile on other systems such as Linux, MacOS, etc. Cygwin is a collection of unix tools ported to Windows, which enables you to do tasks which would normally only be possible in a unix enviroment. Getting Cygwinįirst of all you need to install Cygwin. As alternative you can try to build them in MinGW by following this tutorial. The PS2 toolchains do currently not build in Cygwin (see this thread ). There are also mingw-versions for the obsoleteĤ.01.0 version of OCaml available.Building PS2 Toolchains and PS2SDK in Cygwin Opam init default "" -c "ocaml-variants.4.07.1+mingw64" -disable-sandboxing
You can also compile it from source: opam init default "" -c "ocaml-variants.4.07.1+mingw32" -disable-sandboxing # or The above commands will download and install precompiled versions of
Opam init default "" -c "ocaml-variants.4.07.1+mingw64c" -disable-sandboxing eval $(opam config env ) Opam init default "" -c "ocaml-variants.4.07.1+mingw32c" -disable-sandboxing # or, if you prefer the 64-bit version Tar -xf '' # or tar -xf ''īash opam32/install.sh # -prefix /usr/foo, the default prefix is /usr/local They are all not linkedĪgainst cygwin1.dll, so you can use them both with either the 32-bit Native versions of opam, flexdll and aspcud.
The name of your home directory should only contain alphanumericĪscii letters, no whitespaces (both, the windows versionĬ:\cygwin\home\user and the posix version /home/user). Lastname’) or any other character that would require quoting insideĪ unix shell or cmd.exe, follow the instructions If your logon name contains whitespace characters (e.g.
The 32-bit version is no longer recommended) Manual InstallationĪdditional packages through cywin’s setup utility: rsync, patch,ĭiffutils, curl, make, unzip, git, m4, perl - and of course (If possible, the 64-bit version of cygwin is Set custom options: proxy configuration, select the initial OCaml However, the installer won’t allow you to The setup shouldīe easy and fast this way. Then set up opam and OCaml inside this environment. The installer will first create a customized cygwin environment and There are two ways to setup this opam repository: Graphical Installer OCaml for Windows - Installation OCaml for Windows