Author Topic: Getting started on Dingux dev  (Read 2941 times)


  • Guest
Getting started on Dingux dev
« on: October 28, 2009, 09:42:04 am »
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!



  • * Moderator
  • Posts: 2381
Re: Getting started on Dingux dev
« Reply #1 on: October 28, 2009, 10:46:51 am »
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: [Select]
export PATH="${PATH}:/opt/mipsel-linux-uclibc/usr/bin"
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: [Select]
./configure --host=mipsel-linux --target=mipsel-linux --with-sdl-prefix=/opt/mipsel-linux-uclibc/usr

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/
« Last Edit: October 28, 2009, 10:50:27 am by zear »


  • Posts: 355
    • Shin-NiL's Personal Web Page (Brazilian Portuguese)
Re: Getting started on Dingux dev
« Reply #2 on: October 28, 2009, 01:45:28 pm »
Thanks zear, I was looking for it!


  • Guest
Re: Getting started on Dingux dev
« Reply #3 on: October 28, 2009, 04:28:28 pm »
Yes, thank you Zear. I'll try a VM and see how that works.


Post a new topic