Dingoo Development...

  • Thread starter Thread starter redact
  • Start date Start date
  • Views Views 3,608
  • Replies Replies 4

redact

‮҉
Member
Joined
Dec 2, 2007
Messages
3,161
Solutions
3
Reaction score
175
Trophies
1
Location
-
XP
705
Country
Mauritania
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
frown.gif


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?
 
1NOOB said:
http://dl.openhandhelds.org/cgi-bin/dingoo.cgi?0,0,0,0,13

maybe in this , if not ill try to find something else , everything on the page you gave seem dead lol

and good luck with the stuff your gonna do , i like that little dingoo lol
hmm, that site seems to have a "Dingoo language-compiler"
gotta remember to check that out when i get home... thanks for the link
smile.gif


edit: nvm, found this http://sience.schattenkind.net/dingoo/Ding...for_Windows.htm
dingux development it is then
tongue.gif
 
EDIT: fixed some stuff i noticed was wrong but now i have new errors
tongue.gif

(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
QUOTE said:
# make
/dingux/bin/mipsel-linux-uclibc-g++ HelloWorld.cpp -o HelloWorld.dge
/tmp/ccnngv4m.o: In function `addToList()': HelloWorld.cpp:(.text+0x44): undefined reference to `linkList::linkList()'
/tmp/ccnngv4m.o: In function `main': HelloWorld.cpp:(.text+0x164): undefined reference to `linkList::printInt()'
collect2: ld returned 1 exit status
make: *** [all] Error 1
 
mercluke said:
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:
-
HelloWorld.cpp
-
linkList.h
-

but when typing make i get
QUOTE said:
# make
/dingux/bin/mipsel-linux-uclibc-g++ HelloWorld.cpp -o HelloWorld.dge
In file included from HelloWorld.cpp:1:
HelloWorld.h:4: error: new types may not be defined in a return type
HelloWorld.h:4: note: (perhaps a semicolon is missing after the definition of 'linkList')
HelloWorld.h:4: error: two or more data types in declaration of 'addToList'
make: *** [all] Error 1

would anybody happen to know what i am doing wrong because neither of those two errors seem to make any sense.. 'void' is not a "new type" and there is only one return type (void) in the addToList prototype so i have no clue what it is trying to tell me... :X
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...
 

Site & Scene News

Popular threads in this forum