Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 33

Thread: Dc dev pack

                  
   
  1. #21
    DCEmu Regular
    Join Date
    Apr 2004
    Location
    Posts
    351
    Rep Power
    79

    Default Re: Dc dev pack

    Ok i tryed that still giving me the same error. I noticed the space in user name to i thought that was it but seems it's not. Â*I know 127 error im geting is to do with some thing that cant be found looks like it does not work for me im at a loss now.

    Thanks for helping me on trying to get it to work as well Â*Vorrtexx. Â*some things i wanted to do Â*needed this version to become real.

    In the environ there is this Â* Â*
    Code:
    PATH="${PATH}:${KOS_CC_BASE}/bin:/home/rawoul/dcdev/dc/bin
    Code:
    make[2]: kos-c++: Command not found
    did you ever or any one get this error?

    Back to looking at it i guess. How on a working system would you get this error if you tryed
    Code:
    make[2]: kos-c++: Command not found

  2. #22

    Default Re: Dc dev pack

    It seems to me that the path to where the kos-c++ file and the other gnu wrapper files is not actually getting amended to the $PATH variable.

    Some checks you could try are:
    1. Check your kos/utils/gnu_wrappers directory to see if the "kos-c++" file is there. It should be.

    2. run the command "set" from the cygwin command line. look at your PATH variable and you should see something at the end of it like /usr/local/dcdev/dc/kos/utils/gnu_wrappers .If this is missing I would think the environ_base.sh file did not get load from your kos directory.

    3. Try loading the environ_base.sh file manually from the kos directory after loading the environ.sh file from the dcdev directory.

  3. #23

    Default Re: Dc dev pack

    If you do get it working you may notice that genromfs is not compiled in the kos/utils/genromfs directory so to get it to compile you will need to fix the following code in the genromfs.c file:

    Replace the following header inclusion:
    Code:
    #ifdef _WIN32
    #   include <getopt.h>
    #else
    #   include <fnmatch.h>
    #endif /* _WIN32 */
    with this:

    Code:
    #   include <fnmatch.h>
    it should build cleanly now.

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

    Default Re: Dc dev pack



    Here's the info from the set command thanks for telling me about that.

    Code:
    IRIS_BASE=/usr/local/dc/dcdev/dc/kos/../iris3d
    KOS_AFLAGS=' -little -little'
    KOS_AR=/usr/local/dc/dcdev/dc/sh-elf/bin/sh-elf-ar
    KOS_ARCH=dreamcast
    KOS_ARCH_DIR=/usr/local/dc/dcdev/dc/kos/kernel/arch/dreamcast
    KOS_AS=/usr/local/dc/dcdev/dc/sh-elf/bin/sh-elf-as
    KOS_BASE=/usr/local/dc/dcdev/dc/kos
    KOS_CC=/usr/local/dc/dcdev/dc/sh-elf/bin/sh-elf-gcc
    KOS_CCPLUS=/usr/local/dc/dcdev/dc/sh-elf/bin/sh-elf-g++
    KOS_CC_BASE=/usr/local/dc/dcdev/dc/sh-elf
    KOS_CC_PREFIX=sh-elf
    KOS_CFLAGS='-O2 -fomit-frame-pointer -ml -m4-single-only -fno-crossjumping -I/us
    r/local/dc/dcdev/dc/kos/../kos-ports/include -I/usr/local/dc/dcdev/dc/kos/includ
    e -I/usr/local/dc/dcdev/dc/kos/kernel/arch/dreamcast/include -I/usr/local/dc/dcd
    ev/dc/kos/addons/include -I/usr/local/dc/dcdev/dc/kos/../iris3d/include/iris3d -
    I/usr/local/dc/dcdev/dc/kos/../iris3d/include/opcode -D_arch_dreamcast -D_arch_s
    ub_pristine -Wall -g -fno-builtin -fno-strict-aliasing -ml -m4-single-only -fno-
    crossjumping -I/usr/local/dc/dcdev/dc/kos/../kos-ports/include -I/usr/local/dc/d
    cdev/dc/kos/include -I/usr/local/dc/dcdev/dc/kos/kernel/arch/dreamcast/include -
    I/usr/local/dc/dcdev/dc/kos/addons/include -I/usr/local/dc/dcdev/dc/kos/../iris3
    d/include/iris3d -I/usr/local/dc/dcdev/dc/kos/../iris3d/include/opcode -I/usr/lo
    cal/dc/dcdev/dc/kos/include -I/usr/local/dc/dcdev/dc/kos/kernel/arch/dreamcast/i
    nclude -I/usr/local/dc/dcdev/dc/kos/addons/include -I/usr/local/dc/dcdev/dc/kos/
    ../iris3d/include/iris3d -I/usr/local/dc/dcdev/dc/kos/../iris3d/include/opcode -
    D_arch_dreamcast -D_arch_sub_pristine -Wall -g -fno-builtin -fno-strict-aliasing
    '
    KOS_CPPFLAGS=' -fno-operator-names -fno-rtti -fno-exceptions -fno-operator-nam
    es -fno-rtti -fno-exceptions'
    KOS_GENROMFS=/usr/local/dc/dcdev/dc/kos/utils/genromfs/genromfs
    KOS_INC_PATHS='-I/usr/local/dc/dcdev/dc/kos/../kos-ports/include -I/usr/local/dc
    /dcdev/dc/kos/include -I/usr/local/dc/dcdev/dc/kos/kernel/arch/dreamcast/include
     -I/usr/local/dc/dcdev/dc/kos/addons/include -I/usr/local/dc/dcdev/dc/kos/../iri
    s3d/include/iris3d -I/usr/local/dc/dcdev/dc/kos/../iris3d/include/opcode -I/usr/
    local/dc/dcdev/dc/kos/include -I/usr/local/dc/dcdev/dc/kos/kernel/arch/dreamcast
    /include -I/usr/local/dc/dcdev/dc/kos/addons/include -I/usr/local/dc/dcdev/dc/ko
    s/../iris3d/include/iris3d -I/usr/local/dc/dcdev/dc/kos/../iris3d/include/opcode
    '
    KOS_LD=/usr/local/dc/dcdev/dc/sh-elf/bin/sh-elf-ld
    KOS_LDFLAGS=' -ml -m4-single-only -Wl,-Ttext=0x8c010000 -nostartfiles -nostdlib
    -L/usr/local/dc/dcdev/dc/kos/lib/dreamcast -L/usr/local/dc/dcdev/dc/kos/addons/l
    ib/dreamcast -L/usr/local/dc/dcdev/dc/kos/../iris3d/lib -ml -m4-single-only -Wl,
    -Ttext=0x8c010000 -nostartfiles -nostdlib -L/usr/local/dc/dcdev/dc/kos/lib/dream
    cast -L/usr/local/dc/dcdev/dc/kos/addons/lib/dreamcast -L/usr/local/dc/dcdev/dc/
    kos/../iris3d/lib'
    KOS_LIBS='-Wl,--start-group -lkallisti -lc -lgcc -Wl,--end-group'
    KOS_LIB_PATHS='-L/usr/local/dc/dcdev/dc/kos/lib/dreamcast -L/usr/local/dc/dcdev/
    dc/kos/addons/lib/dreamcast -L/usr/local/dc/dcdev/dc/kos/../iris3d/lib'
    KOS_LOADER='dc-tool -x'
    KOS_MAKE=make
    KOS_OBJCOPY=/usr/local/dc/dcdev/dc/sh-elf/bin/sh-elf-objcopy
    KOS_RANLIB=/usr/local/dc/dcdev/dc/sh-elf/bin/sh-elf-ranlib
    KOS_START=/usr/local/dc/dcdev/dc/kos/kernel/arch/dreamcast/kernel/startup.o
    KOS_STRIP=/usr/local/dc/dcdev/dc/sh-elf/bin/sh-elf-strip
    KOS_SUBARCH=pristine
    LINES=25
    MACHTYPE=i686-pc-cygwin
    MAILCHECK=60
    MAKE_MODE=UNIX
    NUMBER_OF_PROCESSORS=1
    OLDPWD=/usr/local/dc/dcdev
    OPTERR=1
    OPTIND=1
    OS=Windows_NT
    OSTYPE=cygwin
    PATH='/USR/LOCAL/BIN:/usr/lib/gcc-lib/i686-pc-cygwin/3.2:/usr/bin:/cygdrive/c/WI
    NDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c
    /Program Files/Common Files/Ulead Systems/MPEG:/cygdrive/c/EUPHORIA/BIN: :/usr/
    local/dc/dcdev/dc/sh-elf/bin:/home/rawoul/dcdev/dc/bin:/usr/local/dc/dcdev/dc/ko
    s/utils/gnu_wrappers:/usr/local/dc/dcdev/dc/kos/utils/gnu_wrappers'
    PATHEXT='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
    PIPESTATUS=([0]="2")
    I loaded the other file after still get the same error every thing seems like it's set the gnu_ wrappers file is in the directorys.

    Dont know if you can see any thing im missing from the set command or how it compares to yours which works.

    Thanks again dont want to be a bother.

  5. #25

    Default Re: Dc dev pack

    Im all out of ideas.
    Your enviroment variables are all the same as mine, no differences.

    when you execute "source /usr/local/dc/dcdev/environ.sh" and then from the command line execute the command "kos-c++" does it say command not found?

    what if you then change directory to cd /usr/local/dc/dcdev/dc/kos/utils/gnu_wrappers and run the same command again "./kos-c++".
    does it ever output the following?
    Code:
    $ kos-c++
    sh-elf-g++: no input files
    The thing is that kos-c++ and kos-cc use the kos variables KOS_CC and KOS_CCPLUS and they are both set as far as I can see.

  6. #26
    DCEmu Regular
    Join Date
    Apr 2004
    Location
    Posts
    351
    Rep Power
    79

    Default Re: Dc dev pack

    [quote author=Vorrtexx link=board=Dev;num=1095484578;start=15#24 date=10/09/04 at 14:24:25]

    when you execute "source /usr/local/dc/dcdev/environ.sh" and then from the command line execute the command "kos-c++" does it say command not found?
    .[/quote]

    No it reports
    Code:
    BASH-2.05b$ kos-c++ sh-elf-g++: No input files
    WHen i then Type make and i get ..

    Code:
    BASH-2.05b$ make
    make -C Â*src
    make[1]: Entering directory `/usr/local/dc/dcdev/sticks/src'
    make -C Â*display
    make[2]: Entering directory `/usr/local/dc/dcdev/sticks/src/display'
    kos-c++ -c SMenu.cpp -o SMenu.o
    make[2]: kos-c++: Command not found
    make[2]: *** [SMenu.o] Error 127
    make[2]: Leaving directory `/usr/local/dc/dcdev/sticks/src/display'
    make[1]: *** [_dir_display] Error 2
    [quote author=Vorrtexx link=board=Dev;num=1095484578;start=15#24 date=10/09/04 at 14:24:25]
    what if you then change directory to cd /usr/local/dc/dcdev/dc/kos/utils/gnu_wrappers and run the same command again "./kos-c++".
    does it ever output the following?
    .[/quote]

    Yes it does it outputs

    Code:
    $ kos-c++ 
    sh-elf-g++: no input files
    Seems it's all correct only thing i can think is some rogue cgywin bug or some other package needs updating.

    Dont know why but i seem to allways get the un explain-able problems.. ;D

  7. #27

    Default Re: Dc dev pack

    yeah, I really don't know what the problem is. everything looks ok.
    Have you tried compiling and of the KOS examples in:

    /usr/local/dc/dcdev/dc/kos/examples/dreamcast

    Do they also say kos-cc not found or kos-c++ not found?

  8. #28
    DCEmu Regular
    Join Date
    Apr 2004
    Location
    Posts
    351
    Rep Power
    79

    Default Re: Dc dev pack

    Thanks ive since quit dc any thing so thanks vorrtex for trying to help was my last bother with this stuff.


  9. #29

    Default Re: Dc dev pack

    [quote author=Alexvrb link=board=Dev;num=1095484578;start=15#17 date=10/08/04 at 16:34:13]Doesn't GCC 3.3.3 sometimes produce broken code for SH4?[/quote]
    I had no problem at all with C++, kos and iris on the game i was working so i guess it works fine =).

  10. #30

    Default Re: Dc dev pack

    [quote author=Vorrtexx link=board=Dev;num=1095484578;start=0#10 date=10/05/04 at 16:31:02]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.[/quote]
    Iris is not compiled with stlport either in my pack :x

Page 3 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
  •