-
Cygwin Help needed!
So I decided to install Cygwin and I got up till here http://www.dreamcast-scene.com/index...MakingBinutils
Im stuck at this part:
Change to your BINUTILS directory
cd /gcc/binutils-2.14
When I enter in the cd /gcc/binutils-2.14 and it says it cannot find the directory or w/e. Well what I wanted to know is am I doing this right? Or do I have to add anything else into it?
-
You're missing it. You probably didn't download binutils. Binutils is only needed if your building your own toolchain, which can be fairly confusing if you're not experianced with programming (even some who are experianced). Anyway, I wrote a guide that was made from different information sources and it's very easy to follow... I haven't posted it anywhere yet since I'm waiting for freetype, which SDL_ttf apparently requires which is in KOS. Thanksgiving is comming up soon and my grandma is visiting soon so I'll be pretty busy with real life - I'll try to get a new ISO out when time permits. It'll be definately no larger then 150MB.
-
No I got bin utils, I have everything needed.
-
-
Of course I did, am I supposed to write in cd /gcc/binutils-2.14 or is cd just a typo?
-
Hmm the guide is pretty confusing, mabye someone can help clear things up?
Change to your BINUTILS directory
cd /gcc/binutils-2.14
Configure your makefile so that it reflects your TARGET and DIRECTORIES
./configure --target=$target --prefix=$prefix
(this step may take quite some time, so enjoy the nice printouts and take a cup of coffee....... or two...)
Start the make-procedure including install
make all install
(as with the step above this may take some time... even some more than configuring)
Also to be able to use the binutils and compilers we have to add the directory to our path in either .profile or .bashrc add the following line: (this line puts both the binutils and gcc into your path)
PATH=/usr/local/dc/sh-elf/bin:$PATH
NOTE: If you used an other path in prefix, please add your own path to your .bashrc or .profile!
So does most of that mean PATH is supposed to be somethign I choose? If so what is a default selection?
-
cd stands for create directory i believe (correct me if im wrong) But what i do know is that cd enters the folder put after it (i.e. cd XpspX) That would enter the folder XpspX in the 'Home' folder of cygwin.
If this didnt help then ignore my post :p
-
-
Check my post -.-
It means 'create directory' and it enters the folder following 'cd'
-
It would be a lot easier to use a script to build your toolchain. Get dc-chain-0.1-gcc346 by Christin Henz.
Install a default Cygwin setup with these packages:
- Devel
- binutuils
- bison
- flex
- gcc-core
- gcc-g++
- patchutils
- subversion
- Libs
- jpeg
- libpng12
- libpng12-devel
- Web
Add the following to GCC pass 2's configure line (line 151 and 152). I added it directly before $(to_log): "--disable-libstdcxx-pch" inside dc-chain's Makefile, without quotes.
You will need to download KOS SVN and then set the variable entry inside the Makefile.