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

_-Caleb-_ (OP)

  • Posts: 64
    • 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: 1364
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: 64
    • 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: 566
    • 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: 11
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: 64
    • 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.

ace9094

  • Posts: 764
Re: [DEVELOPMENT] How to compile for RG350? (Help needed)
« Reply #8 on: November 27, 2019, 01:17:56 am »
Hi,

Yes you can use on 64 bits OS.

Windows 64Bit ? States in a 2013 post strictly x86 for windows..

Thanks
Dingoo A320, GCW0, RS-97 x2, Revo-K101, RS-90, PSP, GameGadget, New 3DS 128GB, PS Vita 200GB, RS-45, Gamebox Advance and a few other obscure devices

jamesking

  • Posts: 1
Re: [DEVELOPMENT] How to compile for RG350? (Help needed)
« Reply #9 on: December 03, 2019, 05:40:03 pm »
I've put the latest GCW Zero toolchain in my
Code: [Select]
/opt directory as described and pointed my path with
Code: [Select]
export PATH=$PATH:/opt/toolchain/usr/bin however it still cannot find any of the binaries in there.

Also, once I'm pointed to the binaries, are there any extra steps to take in order to make an executable? I've never used a 2nd toolchain before so I don't know what else is involved.

Cheers

valentecaio

  • Posts: 5
Re: [DEVELOPMENT] How to compile for RG350? (Help needed)
« Reply #10 on: January 19, 2020, 11:40:41 pm »
hi jamesking!

I had the same issue. I think you have permission issues with the folder.
Try to unpack the toolchain directly into the folder, instead of moving it, like they do here:
http://www.gcw-zero.com/develop

Cheers

 

Post a new topic