Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: Cygwin Help needed!

                  
   
  1. #1
    DCEmu Old Pro Elven6's Avatar
    Join Date
    May 2006
    Posts
    1,158
    Rep Power
    71

    Default 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?

  2. #2

    Default

    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.

  3. #3
    DCEmu Old Pro Elven6's Avatar
    Join Date
    May 2006
    Posts
    1,158
    Rep Power
    71

    Default

    No I got bin utils, I have everything needed.

  4. #4

    Default

    Did you extract it?

  5. #5
    DCEmu Old Pro Elven6's Avatar
    Join Date
    May 2006
    Posts
    1,158
    Rep Power
    71

    Default

    Of course I did, am I supposed to write in cd /gcc/binutils-2.14 or is cd just a typo?

  6. #6
    DCEmu Old Pro Elven6's Avatar
    Join Date
    May 2006
    Posts
    1,158
    Rep Power
    71

    Default

    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?

  7. #7
    PSP User XpspX's Avatar
    Join Date
    Oct 2006
    Location
    FL
    Posts
    114
    Rep Power
    65

    Default

    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

  8. #8
    DCEmu Old Pro Elven6's Avatar
    Join Date
    May 2006
    Posts
    1,158
    Rep Power
    71

    Default

    What would cd be?

  9. #9
    PSP User XpspX's Avatar
    Join Date
    Oct 2006
    Location
    FL
    Posts
    114
    Rep Power
    65

    Default

    Check my post -.-
    It means 'create directory' and it enters the folder following 'cd'

  10. #10

    Default

    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
      • wget


    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.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •