Author Topic: [DEVELOPMENT] How to compile for RG350? (Help needed)  (Read 824 times)

_-Caleb-_ (OP)

  • Posts: 27
    • Profile in GP32Spain
[DEVELOPMENT] How to compile for RG350? (Help needed)
« on: October 15, 2019, 09:28:24 am »
Hi all,

I'm new with the JZ47xx devices and Open Dingux (Actually my last handheld was (is) a GP2X Wiz) then:

How to prepare my system (Solus Linux) for compile some apps (or try it) in RG350 format? I want to try do it something for the RG350 :-)

Yep, im a newbie in that things.

EDIT: Looking in Internet but nothing clear for me atm

Regards!
- Nullum Gratuitum Prandium -
RG350 user

gameblabla

  • Posts: 1207
Re: [DEVELOPMENT] How to compile for RG350? (Help needed)
« Reply #1 on: October 15, 2019, 01:50:42 pm »
Developing for the RG-350 is the same as the GCW Zero.
First, you grab the toolchain here :
http://www.gcw-zero.com/develop

Put the cross compiler in /opt/gcw0-toolchain or at least do a symlink to it.
You can cross compile with said toolchain.

If you want to generate OPK packages for your GCW0 apps, here's a script from PCSX4ALL :
https://github.com/gameblabla/pcsx4all/blob/master/make_opk.sh

Modify it according to your needs

EDIT: Looking in Internet but nothing clear for me atm
Google is useless these days.

_-Caleb-_ (OP)

  • Posts: 27
    • Profile in GP32Spain
Re: [DEVELOPMENT] How to compile for RG350? (Help needed)
« Reply #2 on: October 15, 2019, 02:24:48 pm »
Developing for the RG-350 is the same as the GCW Zero.
First, you grab the toolchain here :
http://www.gcw-zero.com/develop

Put the cross compiler in /opt/gcw0-toolchain or at least do a symlink to it.
You can cross compile with said toolchain.

If you want to generate OPK packages for your GCW0 apps, here's a script from PCSX4ALL :
https://github.com/gameblabla/pcsx4all/blob/master/make_opk.sh

Modify it according to your needs

EDIT: Looking in Internet but nothing clear for me atm
Google is useless these days.
Hi!!

Yeah thanks, my fault was look for open dingux  toolchain and not the gcw zero one

Thanks for the script gameblabla

Enviado desde mi Redmi Note 6 Pro mediante Tapatalk
« Last Edit: October 15, 2019, 02:29:56 pm by _-Caleb-_ »
- Nullum Gratuitum Prandium -
RG350 user

slaanesh

  • Posts: 554
    • Slaanesh Dev
Re: [DEVELOPMENT] How to compile for RG350? (Help needed)
« Reply #3 on: October 18, 2019, 12:25:54 am »
There is also a version of the GCW-Zero toolchain for cygwin so you don't need a linux distro.

https://boards.dingoonity.org/gcw-development/gcw-zero-toolchain-for-windows-(cygwin)-2013-10-04/

glebm

  • Posts: 7
Re: [DEVELOPMENT] How to compile for RG350? (Help needed)
« Reply #4 on: October 18, 2019, 04:00:19 am »
Here is my script for cloning+building the buildroot and compiling DevilutionX with CMake:
https://github.com/glebm/devilutionX/blob/rg300-ctrls/Packaging/OpenDingux/build-rg350.sh

This uses a custom defconfig with just the packages needed to compile that game:
https://github.com/glebm/devilutionX/blob/rg300-ctrls/Packaging/OpenDingux/buildroot_rg350_defconfig

If you run `make rg350_defconfig` instead, all the packages present on the device will be built.

_-Caleb-_ (OP)

  • Posts: 27
    • Profile in GP32Spain
Re: [DEVELOPMENT] How to compile for RG350? (Help needed)
« Reply #5 on: October 18, 2019, 08:43:31 am »
Thanks all!!

Enviado desde mi Redmi Note 6 Pro mediante Tapatalk

- Nullum Gratuitum Prandium -
RG350 user

ajsuson

  • Posts: 18
Re: [DEVELOPMENT] How to compile for RG350? (Help needed)
« Reply #6 on: November 06, 2019, 12:50:17 pm »
Need to ask. Is the GCW Zero toolchain can be use in 64-bit?

Riviera71

  • Posts: 3
Re: [DEVELOPMENT] How to compile for RG350? (Help needed)
« Reply #7 on: November 06, 2019, 09:40:07 pm »
Hi,

Yes you can use on 64 bits OS.

 

Post a new topic
Post a new topic