Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 33

Thread: Dc dev pack

                  
   
  1. #11

    Default Re: Dc dev pack

    I changed the Makefile in Iris3d to use the stl library that comes with GCC for anyone who ever has had trouble trying to build Iris3D with the STLPort. So this library source doesn't require STLPort to build.

    I've tested the build with rawoul's cygwin build and it worked fine for me. Also, for anyone on a higher version of GCC 3.3.3, you need to edit the makefiles in iris3d and opcode to set the version of GCC. Environmental variable is called GCC_VERSION and it's at the top of the file.
    You can get the library package Here

  2. #12
    DCEmu Regular
    Join Date
    Apr 2004
    Location
    Posts
    351
    Rep Power
    79

    Default Re: Dc dev pack


    Had no luck geting it to work since cygwin is complaining of some entry point in sh-elf .. Cygwin install is over 1 year old looks like i will have to redownload it. Ive removed the old install and every thing that might cause the problem. Read on the net people having this problem with the cgywin1.dll i need the newer version.

    Any ways This is how i untared it was this correct.

    bzip2 -d dcdev.tar.bz2
    tar xvf dcdev.tar



    I think this is correct winrar does not work as stated.

  3. #13

    Default Re: Dc dev pack

    Ian, I had problems with my cygwin as well, as it's also over 1 year old.
    I downloaded two recent packages called : cygwin-1.5.11-1.tar.bz2 and libintl3-0.14.1-1.tar.bz2

    I extracted them to my cygwin directory, but I had to copy /usr/bin directory from the package cygwin-1.5.11-1.tar.bz2 to /bin for it to work. After that I was able to compile.

  4. #14
    DCEmu Regular
    Join Date
    Apr 2004
    Location
    Posts
    351
    Rep Power
    79

    Default Re: Dc dev pack


    Thanks Vorrtexx

  5. #15
    DCEmu Regular
    Join Date
    Apr 2004
    Location
    Posts
    351
    Rep Power
    79

    Default Re: Dc dev pack

    With the environ files ive noticed it's changed a lot im geting a bit stuck with errors. Â*'Say my system is like this path wize.
    C:\cygwin\usr\local\dcdev Â*how should i edit the environ files ---
    DC_ROOT="/usr/local${USER}/dcdev" Â*i Â*thought this would be correct.
    Never seen this style of environ files before.

    Errors i get are as follows i know it looks like a wrong path must be looking at the errors.

    Code:
    make -C display
    make[1]: Entering directory `/usr/local/dcdev/sticks/src/display'
    kos-c++ -c SMenu.cpp -o SMenu.o
    make[1]: kos-c++: Command not found
    make[1]: *** [SMenu.o] Error 127
    make[1]: Leaving directory `/usr/local/dcdev/sticks/src/display'
    make: *** [_dir_display] Error 2
    Im runing the environ file like this Â*. ./environ.sh in the kos directory?

    Vorrtexx what did you have to run first and path to change to get it to compile most times i dont ask but ive deleted my other dev system and have to get this to work some how. :-[

    Any help on these environ files as im use to kos 1.1.9 style.

  6. #16

    Default Re: Dc dev pack

    Ok.
    Well rawoul packaged the entire thing up from his home directory, which for him was:

    Code:
    /home/{USER}/dcdev/
    so if you want to get it going straight from extraction, move/copy the dcdev.tar.bz2 file to your home directory in cywgin. This may be something like C:\cygwin\home\ian , or from within the unix environment itself, /home/ian

    now execute the command:
    Code:
    tar -xvjf dcdev.tar.bz2
    Once extraction is complete you should now have something like /home/ian/dcdev

    After that you are pretty much ready to go. you just have to load the environment variable from the environ.sh file in the dcdev directory.

    so cd to /home/ian/dcdev and execute the command:
    Code:
    source environ.sh
    Now the KOS environment variables should all be set and you're ready to compile.


    The KOS directory structure has changed quite a bit from 1.1.9 too.


    However, if you prefer to have your KOS stuff in another directory, make sure to edit the DC_ROOT variable in the environ.sh file from the dcdev directory, to the path of where dcdev is extracted. Then load your environment variables from this file...ignore the one in the kos folder. This is just the way rawoul has his environment setup, so if you know what you're doing you can edit the environ.sh file in the kos directory and use that one instead.
    Let me know how it goes.

  7. #17

    Default Re: Dc dev pack

    just reading your post there again and I noticed you're loading your environ.sh file from the kos directory. try the one from the dcdev directory and it will probably work then

  8. #18
    DCEmu Rookie
    Join Date
    May 2004
    Location
    Posts
    194
    Rep Power
    78

    Default Re: Dc dev pack

    Doesn't GCC 3.3.3 sometimes produce broken code for SH4?

  9. #19
    DCEmu Regular
    Join Date
    Apr 2004
    Location
    Posts
    351
    Rep Power
    79

    Default Re: Dc dev pack

    After that im still geting Â*
    Code:
    make[1]: kos-c++: Command not found
    I have Â*followed what you said exactly. Â*Even Tryed the old directory it still gives the same error.The CPP base must not be finding the right path? Cygwin is setup correctly my old system i rebuilt and it works fine with this new install of cygwin as well. but kos 1.1.9 is very much out-of date now and gcc 2.95 is out of date to I was looking forward to this new system :'(.

    I have it here now Â*
    C:\cygwin\home\Ian micheal\dcdev

    Code:
    Source environ.sh
    Â* is there a new make Â*Â*command as well? :: I use to put . ./environ.sh for kos before..

    Thanks for helping me out with this . Â*I will get it sooner or later it should be working looking at what you told me but im geting the one error. Which has some thing to do with a wrong path.


  10. #20

    Default Re: Dc dev pack

    I notice there's a space in your username "Ian micheal".
    I would say cygwin has a problem setting the environment variables because of this.
    So I went ahead and tested setting up the environment on my machine with the username you are using and it had problems using the environment variables with "ian micheal" in it.

    So I would say either change the username to "ian_micheal" or extract the dcdev package to "/usr/local/dc" maybe.
    then open "/usr/local/dc/dcdev/environ.sh" and edit the DC_ROOT variable to "/usr/local/dc/dcdev"

    Code:
    DC_ROOT="/usr/local/dc/dcdev"
    now load the environ.sh file with either:

    Code:
    source environ.sh
    or
    Code:
    . ./environ.sh
    Test if the example will compile for you now.

Page 2 of 4 FirstFirst 1234 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
  •