GP2X Compiling For Fenix Gp2x On Linux


spookyln

Member
Joined
Dec 21, 2006
Messages
107
Location
Czech Republic
Website
www.tbs-software.com
hi, first sorry for my english.
i write some simple app in fenix for gp2x on linux machine.
i used v0.84b . program compiled succesfully without any error.
on linux app running but on gp2x not :( only logo appear and then fall back to menu.
heh, trying to compile with v0.84. on linux all ok. on gp2x not.
please using anyone fenix for linux to develop apps for gp2x ?
version you use?
or is possible to get "fxc" compiler for gp2x ?

btw: on gp2x i using Fenixb4 from puck2099.
thanks for help.
 
Strange... if it runs fine on your pc, it should run on the 2X (not necessarily, but I don`t think it has anything to do with you using Linux).

Are you sure you have edited the script to run your dcb correctly?

Could you post the source to your app?
 
i tested simple app downloaded from fenix.divsite.
like i say when i compiled on desktop... running fine
but on gp2x still no.

in script i use "./fxi ./test.dcb -nosplash 2>err.txt" and after crash error log says: " ./test.dcb: no es un DCB version 2 o compatible ".
i think that my desktop fxi and fxc are not compatible with gp2x fxi version.
 
Oh, yes, use this version to compile :)
And post the source, there might be some
stuff that won`t work on the 2X.
 
<code>
PROGRAM Hello;
Begin
x=0;
while(x < 320)
delete_text (0);
x += 2;
write(0, x ,100, 1, "hello world");
FRAME;
End;
End;
</code>

on linux desktop compiled with:
0.84 .... working
0.84b .... working
0.91 .... working

on gp2x not working with compiled test.dcb from all this tested versions.
log already says
./test.dcb: no es un DCB version 2 o compatible.
 
thanks for your help. but like i said: im developing on linux [ currently Archlinux on Desktop PC and Ubuntu on laptop ] not on Windows :(

your version works fine with gp2x but i must use "wine" under linux system to compile source .prg to .dcb :(

but generated .dcb that works on gp2x dont work
with native 0.84 FXI for linux :)
 
Hey Puck, haven`t seen you online for some time... I wanted to ask you for the source code for the gp2x Fenix version...
 
Quiest said:
Hey Puck, haven`t seen you online for some time... I wanted to ask you for the source code for the gp2x Fenix version...
Hi,

I'm since September studying, studying and studying a bit more because I need to finish my University career as soon as possible so I don't have almost any time to code or just speaking :(

I hope next year will be better than this one...

By the way, the source code is in my website :)
 
Last edited by a moderator:
Puck2099 said:
Hi,

I've just mailed you the fxc, spooky2x, but I have linked it also here in case there is more people with the same problem :)

FXC for GNU/Linux

Regards



thx!
I was trying to find a compiler that works on linux! :)

But now I need a interpreter that works on a Linux environment...
 
Last edited by a moderator:
spooky2x said:
:) for development on linux i use compiled 0.92a Fenix version. When porting to gp2x i use compiler from puck2099.
or wait when puck release new version xD.
Hey, where can I find those binaries? :blink:

On http://fenix.divsite.net/download.php the latest one is a 0.84b version.

Now I'm using the 0.84 binaries + Gedit =)
(being used to emacs, never thought Gedit was so powerful and extensible...)

Nevemind. Looking for some documentation I found the binaries too.

http://www.fenixdocs.com/index.php/Fenix_Wiki

Time to study...
 
Last edited by a moderator:
Back
Top