maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Lazarus for Maemo (https://talk.maemo.org/showthread.php?t=35830)

Kjow 2009-12-03 21:18

Lazarus for Maemo
 
Click here for a screenshot.

And click here for my tutorial.


Quote:

Originally Posted by Kjow (Original post)
Hi All,

Lazarus is a very powerfull system to develop (and cross compile) on Windows, Linux, MacOSX, Windows Mobile (so arm) and arm-linux... but it need to be configured for arm-linux and I don't know how to make it...

Do you know how to make Lazarus/fpc able to cross compile for arm-linux?

Do you know if porting of GLScene is possible/easy?

Thank you!


luca 2009-12-03 22:21

Re: Lazarus for Maemo
 
There are still problems with fpc and eabi, but they are being fixed.
However there's still a lot of work (which, AFAIK, nobody is doing) before lazarus can be used for maemo (though the qt widgedset is progressing nicely).
Probably the best place to ask these questions is the lazarus mailing list
http://lists.lazarus.freepascal.org/mailman/listinfo

Kjow 2009-12-03 23:41

Re: Lazarus for Maemo
 
Thanks Luca (compatriot? :))
I tried in lazarus forum, but no replies... it seems that arm-linux hasn't interest between lazarus developers...

I'll try in mailing list.

However there are some tutorials about this that seems to work... but these are virtually all outdated (e.g. Zaurus)

There is also a project, called CodeTyphon that promises to cross compile in arm-linux, but at the moment of linking it returns -lX11 not found...

Finally, a lot of people say that can build for arm-linux... but I never found a tutorial or guide that works.

Thanks

Kjow 2009-12-14 23:42

Re: Lazarus for Maemo
 
With some difficulties (very few documents) I got my first FPC x-terminal "hello world" for N900. :)

Almost to the and of my path to cross compile with Lazarus for Maemo:

/home/kjow/lazarus/fpc/libcross/libexpat.so.1: undefined reference to `__aeabi_unwind_cpp_pr1@GCC_3.5'
/home/kjow/lazarus/fpc/libcross//libglib-2.0.so: undefined reference to `__aeabi_unwind_cpp_pr0@GCC_3.5'

Do you know how can I solve this linker/libs problem?

luca 2009-12-15 11:54

Re: Lazarus for Maemo
 
Nope (otherwise I'd have replied on the mailing list)

Kjow 2009-12-15 12:02

Re: Lazarus for Maemo
 
Quote:

Originally Posted by luca (Post 428797)
Nope (otherwise I'd have replied on the mailing list)

Hi!
I think it is a target libs problem. For this reason I posted here, maybe someone with the same errors (but with other dev language) can read and reply.

However, I'll try to re-grab all libs from scratchbox...


Bye!

PS Thank you to have suggested the mailing list! It is very powerfull!

Kjow 2009-12-15 16:23

Re: Lazarus for Maemo
 
It works! :)

It was a target libs problem, now I grabbed all of them directly from N900. :)

mikkov 2009-12-15 16:28

Re: Lazarus for Maemo
 
Quote:

Originally Posted by Kjow (Post 429172)
It works! :)

It was a target libs problem, now I grabbed all of them directly from N900. :)

Now all we need is the instructions on how to get lazarus/fpc working for maemo :)

Kjow 2009-12-15 16:34

Re: Lazarus for Maemo
 
Quote:

Originally Posted by mikkov (Post 429178)
Now all we need is the instructions on how to get lazarus/fpc working for maemo :)

Whops, I forget the link ;)

Here for a screenshot.

And see here for my tutorial.

Bye!

marcovaldo 2010-04-11 21:38

Re: Lazarus for Maemo
 
Hi,

Thank you for the work you have done !
I'm following the same path (fpc/lazarus on arm-linux for
using them on industrial control boards and - possibly in future on android devices...)

(I cannot see a download link for the lazarus cross compiler
install scripts you wrote anywhere - am I blind or have they
been removed?)

kind regards,

marcovaldo


All times are GMT. The time now is 22:22.

vBulletin® Version 3.8.8