Dingux (Dingoo Linux) > Development
Getting started on Dingux dev
(1/1)
Beholder:
Hey guys,
I know this has been asked and explained in the past but since the FreeForums are gonesky and I can't find this on the other forums I guess I will ask here. I know that BooBoo's toolchain is needed. I started a project for the native OS but decided to switch over to Dingux ('specially since I want to port to OpenPandora when that arrives some day). My only OS is XP right now, was compiling under cygwin. Can I do the same for Dingux? Would the steps to get it setup be the same as native, only using BooBoo's toolchain instead? Oh, and are there additional steps for getting SDL setup?
Thanks a grip!
-Beholder
zear:
Well, you can't. Not with booboo's toolchain. That thing is linux-x86.
You'd have to either switch to x86 linux, or to compile your own toolchain.
And to setup booboo's toolchain, you have to do the following:
--- Code: ---export PATH="${PATH}:/opt/mipsel-linux-uclibc/usr/bin"
--- End code ---
That's gonna export the path to the toolchain, so you don't need to manually enter the whole compiler path to the configure/makefile
You have to run this command on every new terminal.
If you're set with that, you can start compiling.
A working configure line is:
--- Code: ---./configure --host=mipsel-linux --target=mipsel-linux --with-sdl-prefix=/opt/mipsel-linux-uclibc/usr
--- End code ---
You can also symlink /opt/mipsel-linux-uclibc/usr/bin/sdl-config to /opt/mipsel-linux-uclibc/usr/bin/mipsel-sdl-config, if you have any problems with compiler confusing your native sdl-config with the one from toolchain. Then you just need to replace sdl-config with mipsel-sdl-config in the makefile.
That's all of course if you have your toolchain in /opt/mipsel-linux-uclibc/
Shin-NiL:
Thanks zear, I was looking for it!
Beholder:
Yes, thank you Zear. I'll try a VM and see how that works.
Navigation
[0] Message Index
Go to full version