maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   N9-Pascal (https://talk.maemo.org/showthread.php?t=89987)

Zeyeerboost 2013-05-02 23:52

N9-Pascal
 
I was looking at the freepascal compiler and saw that it is available for Linux on ARM processor. I am just wondering, is it possible to install that compiler on the N9?

I am new to Linux and there is a lot to learn :)

Thanks

xvan 2013-05-03 04:21

Re: N9-Pascal
 
http://www.gnu-pascal.de/gpc/h-index.html

But don't know if it will work without installing a full gcc.

tortoisedoc 2013-05-03 07:54

Re: N9-Pascal
 
http://kastlunger.blogspot.fi/2012/0...ast-on-n9.html

Courtesy of FPC :)

There are also FPC bindings for Qt; but not for MeeGo AFAIK.

Zeyeerboost 2013-05-03 07:57

Re: N9-Pascal
 
I meant on this:
http://www.freepascal.org/down/arm/linux-austria.var

Btw is it possible to port build-essential to it?

qwazix 2013-05-03 08:01

Re: N9-Pascal
 
I think it's already available for the N900 in extras-something, so if it doesn't already run runmodified on the N9, recompiling it should be trivial.

Zeyeerboost 2013-05-03 08:15

Re: N9-Pascal
 
And what about N9?

gerdich 2013-05-03 09:05

Re: N9-Pascal
 
I'm programming lazarus with n900.

That's freepascal together with a Visual development GUI.

http://wiki.freepascal.org/Setup_Cross_Compile_For_ARM

That works perfectly.
You can compile for gtk, command line or even for QT.

Here are the qt-bindings:
http://wiki.freepascal.org/Qt4_Maemo_Binding

I think that the same instructions will work also for N9.

It's very a big pleasure to program pascal on n900.

You can run the program on a PC with Windows or Linux.
Then you crosscompile it to arm and everything works even with the graphical elements of QT.
You can even compile for Hildon-Design.

I can even compile on device big projects. The fpc compiler is very fast on the n900.
But the IDE of Lazarus I didn't compile on the n900.
So, if you really want to program on the device, you have to do it by hand with an editor. But that works quite good.

tortoisedoc 2013-05-03 16:51

Re: N9-Pascal
 
Quote:

Originally Posted by Zeyeerboost (Post 1340859)
I meant on this:
http://www.freepascal.org/down/arm/linux-austria.var

Btw is it possible to port build-essential to it?

That's the one I used.
I did not succeed in compiling / running Lazarus - based apps, tho. Do not remember what was wrong; some X libraries could be / GtK missing..

EDIT : some opengl es examples ran as well.


All times are GMT. The time now is 16:27.

vBulletin® Version 3.8.8