Dreamcast Toolchain on MSYS/MinGW
Ok, please don't hesitate to contact me if you have any problems with this script or
tutorial. I'll be willing to help.
Note: I no longer use Windows for development, so I don't know if I can be of much
help to you should any problems arise.
This tutorial is very outdated, and is really here just for historical
reference. I can try to help you with any issues, but I can't guarantee any results.
That being said, here's the tutorial.
Version 2.0 - June 1, 2003
Step 1: Download the following files:
MinGW-2.0.0-3.exe
MSYS-1.0.8.exe
Step 2: Install MinGW 2.0
Find the file called MinGW-2.0.0-3.exe that you downloaded in Step 1. Run it.
When asked where to install to, keep the default of "c:\MinGW".
Step 3: Instal MSYS 1.0.8
Find the file called MSYS-1.0.8.exe, that you downloaded in Step 1. Run it.
When asked where to install to, enter "c:\MinGW\msys". When the installer is
finished, it will ask you if you wish to continue with the post-install. Type
"y" and press enter. When asked if you have MinGW installed, again type "y"
and press enter. When asked where MinGW is installed, type "c:/mingw". Voila,
MSYS is now installed.
Step 4: Installing mingwDTK
This step is crucial. Without doing this step, the script (later) will fail.
Download the following file to the c:\MinGW directory:
mingwDTK
Now start up MSYS (there should be an icon on your desktop), and type the following in:
cd /mingw
tar -xzvf mingwDTK-1.0.0-alpha-1.tar.gz
Now mingwDTK is installed, you can exit MSYS for now.
Step 5: Downloading the ljsdcdev build script
This is another easy step.
Download the following file to the c:\MinGW\msys\home\{your username} directory. (of
course, put your windows username there, it'll probably be the only directory in there):
build-toolchain.sh
Step 6: Running the ljsdcdev build script
This step will take quite some time....
If MSYS isn't running now, start it up. Now, type the following commands into MSYS:
mkdir build_script
cd build_script
../build-toolchain.sh
Now, Just sit back and relax, take a nap, go to sleep, etc. The system SHOULD handle
itself from here.
If Step 6 fails, try running the script again, it may correct itself, if not, let me
know by sending me a PM (on the DCEmu message boards), my username is BlueCrab.
If Step 6 succeeds, you've successfully built your own Dreamcast cross-compiler
toolchain, give yourself a pat on the back. Have fun!
Changelog:
Version 1.6 -> 2.0:
A complete rework of the script.
Removed some of my stupid running commentary.
Version 1.3 -> 1.6:
Fixed some more issues in script.
Changed version of tutorial to match that of the script
Version 1.2 -> 1.3:
Fixed some genromfs issues in the script (thanks neoak)
Version 1.1 -> 1.2:
Updated script to make all downloads occur at once (thanks again q_006)
Version 1.0 -> 1.1:
Fixed a couple of typos and a broken link (thanks q_006)
|
|
|
|
Navigation |
|
|