Active Topics

 


Reply
Thread Tools
Posts: 52 | Thanked: 54 times | Joined on Nov 2009
#1
Click here for a screenshot.

And click here for my tutorial.


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!

Last edited by Kjow; 2009-12-15 at 16:41.
 

The Following 2 Users Say Thank You to Kjow For This Useful Post:
luca's Avatar
Posts: 1,137 | Thanked: 402 times | Joined on Sep 2007 @ Catalunya
#2
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
 
Posts: 52 | Thanked: 54 times | Joined on Nov 2009
#3
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
 
Posts: 52 | Thanked: 54 times | Joined on Nov 2009
#4
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's Avatar
Posts: 1,137 | Thanked: 402 times | Joined on Sep 2007 @ Catalunya
#5
Nope (otherwise I'd have replied on the mailing list)
 
Posts: 52 | Thanked: 54 times | Joined on Nov 2009
#6
Originally Posted by luca View Post
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!

Last edited by Kjow; 2009-12-15 at 12:05.
 
Posts: 52 | Thanked: 54 times | Joined on Nov 2009
#7
It works!

It was a target libs problem, now I grabbed all of them directly from N900.
 
Posts: 1,208 | Thanked: 1,028 times | Joined on Oct 2007
#8
Originally Posted by Kjow View Post
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
 
Posts: 52 | Thanked: 54 times | Joined on Nov 2009
#9
Originally Posted by mikkov View Post
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!
 

The Following 6 Users Say Thank You to Kjow For This Useful Post:
Posts: 1 | Thanked: 0 times | Joined on Apr 2010
#10
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
 
Reply


 
Forum Jump


All times are GMT. The time now is 17:55.