Dingoo Development...

Discussion in 'Dingoo & Gemei' started by mercluke, Sep 14, 2010.

Sep 14, 2010

Dingoo Development... by mercluke at 6:44 AM (2,264 Views / 0 Likes) 4 replies

  1. mercluke
    OP

    Member mercluke ‮҉

    Joined:
    Dec 2, 2007
    Messages:
    3,161
    Location:
    Perth
    Country:
    Australia
    so umm...
    i was thinking about getting into writing some dingoo homebrew when mine arrives since my programming course has had an unbearably small amount of actual programming lately...

    so from what i've gathered i can go with native OS dev:
    http://code.google.com/p/dingoo-sdk/wiki/G...nformation?tm=6

    or dingux dev:
    http://code.google.com/p/dingoo-linux/downloads/list

    but from what i gather for both the dingux and native os SDKs i need to get my hands on the "Ingenic toolchain" (if compiling on linux) but everytime i try to download it the download will go at like 7.1kbs and fail at like 30% downloaded

    so then i found out that i can compile binaries on windows with the native os sdk but i need "Windows MIPSEL Compiler" but the link given to me on the page is dead [​IMG]

    anybody happen to have a mirror for either mipsel-gcc4.1-cygwin-nopic.tar.bz2, mipsel-4.1.2-nopic.tar.bz2 or mipseltools-gcc412-glibc261.tar.bz2

    also... which is more enjoyable to program for? native os or dingux?
     
  2. 1NOOB

    Member 1NOOB GBAtemp Fan

    Joined:
    Sep 9, 2006
    Messages:
    375
    Location:
    Inside My Head...
    Country:
    Canada
  3. mercluke
    OP

    Member mercluke ‮҉

    Joined:
    Dec 2, 2007
    Messages:
    3,161
    Location:
    Perth
    Country:
    Australia
    hmm, that site seems to have a "Dingoo language-compiler"
    gotta remember to check that out when i get home... thanks for the link [​IMG]

    edit: nvm, found this http://sience.schattenkind.net/dingoo/Ding...for_Windows.htm
    dingux development it is then [​IMG]
     
  4. mercluke
    OP

    Member mercluke ‮҉

    Joined:
    Dec 2, 2007
    Messages:
    3,161
    Location:
    Perth
    Country:
    Australia
    EDIT: fixed some stuff i noticed was wrong but now i have new errors [​IMG]
    (code boxes and error quote are updated to reflect)

    sorry to double post but i thought it would be easier to ask this in here then to start a new thread...

    so until the dingoo actually arrives i'm stuck with just writing some basic stuff and hoping it compiles and i've made a simple linked list to try and refresh my self about pointers..

    makefile:
    Code:
    TOOLCHAINDIR := /dingux
    BINPATHÂÂÂÂ:= $(TOOLCHAINDIR)/bin
    
    ARCHÂÂÂÂ:= mipsel-linux-uclibc-
    CCÂÂÂÂÂÂÂÂ:= ${BINPATH}/$(ARCH)g++
    
    PROGRAM = HelloWorld.cpp
    TARGETÂÂÂÂ:= HelloWorld.dge
    
    all: 
    ÂÂÂÂ$(CC) $(PROGRAM) -o $(TARGET)
    HelloWorld.h
    CODE#include
    #include "linkList.h"

    void addToList(void);
    linkList* pHead;

    HelloWorld.cpp
    CODE#include "HelloWorld.h"

    int main()
    {
    ÂÂÂÂfor(int i = 0; i < 10;i++)
    ÂÂÂÂ{
    ÂÂÂÂÂÂÂÂaddToList();
    ÂÂÂÂ}
    ÂÂÂÂlinkList* pTemp;
    ÂÂÂÂpTemp = pHead;
    ÂÂÂÂwhile(pTemp!=NULL)
    ÂÂÂÂ{
    ÂÂÂÂÂÂÂÂpTemp->printInt();
    ÂÂÂÂÂÂÂÂpTemp = pTemp->pNext;
    ÂÂÂÂ}
    ÂÂÂÂreturn 0;
    }

    void addToList(void)
    {
    ÂÂÂÂlinkList* pTemp;
    ÂÂÂÂpTemp = new linkList;
    ÂÂÂÂpTemp->pNext = pHead;
    ÂÂÂÂpHead = pTemp;
    }

    linkList.h
    CODE#include "StdAfx.h"
    #include

    class linkList
    {
    ÂÂÂÂpublic:
    ÂÂÂÂÂÂÂÂlinkList(void);
    ÂÂÂÂÂÂÂÂ~linkList(void);
    ÂÂÂÂÂÂÂÂlinkList* pNext;
    ÂÂÂÂÂÂÂÂvoid printInt(void);
    ÂÂÂÂprivate:
    ÂÂÂÂÂÂÂÂint num;
    };

    linkList.cpp
    CODE#include

    linkList::linkList(void)
    {
    ÂÂÂÂpNext = NULL;
    ÂÂÂÂnum = 3;
    }

    linkList::~linkList(void)
    {

    }

    void linkList::PrintInt(void)
    {
    ÂÂÂÂprintf("%i ", num);
    }

    but when typing make i get
     
  5. Marlonguppy

    Member Marlonguppy GBAtemp Regular

    Joined:
    Jul 31, 2009
    Messages:
    181
    Location:
                                  
    Country:
    Netherlands
    Hmmm.... really weird. I can't compile it either so....
    My dingoo also isn't arrived yet. It takes horribly long (Left 8SEP to Netherlands).
    I also can't find any error's, but... yeah...
     

Share This Page