Lazarus

Programming => Operating Systems => Linux PDAs => Topic started by: proxy3d on May 27, 2013, 05:58:16 pm

Title: Linux ARM
Post by: proxy3d on May 27, 2013, 05:58:16 pm
I want to transfer under the ARM components in Lazarus
1) How do I compile for ARM using the Intel?
2) What do I need to use QT for Arch Linux for ARM?
3) What do you need to compile the project under Arch Linux for ARM c QT?

What is the simplest solution? There is a distribution package ready?

I have not found http://freepascal.dfmk.hu/test/lazarus/
Title: Re: Linux ARM
Post by: avra on May 28, 2013, 11:07:37 am
I want to transfer under the ARM components in Lazarus
1) How do I compile for ARM using the Intel?
2) What do I need to use QT for Arch Linux for ARM?
3) What do you need to compile the project under Arch Linux for ARM c QT?

What is the simplest solution? There is a distribution package ready?
Did you search forum at all? Searching ARM Linux returns 9 pages to me. Most of your questions can also be answered if you search for Raspberry Pi.
Title: Re: Linux ARM
Post by: BigChimp on May 28, 2013, 11:46:08 am
The wiki also has lots of info on raspberry pi, ARM and cross compiling.
Title: Re: Linux ARM
Post by: proxy3d on May 29, 2013, 11:17:06 am
Did you search forum at all? Searching ARM Linux returns 9 pages to me. Most of your questions can also be answered if you search for Raspberry Pi.
I searched the forum, looked at other topics.
1) I do not care Raspberry Pi.
2) I am interested in porting to the ARM processor. Different CPU Board with Linux.
CPU Board: virt2real, Gumstix, tornado SOM, FreandlyARM, Raspberry Pi, pandaboard, Beaglebone and others.
3) I am interested in distribution of Lazarus, which you can install and start the program under the ARM (without setting the paths to files). Analogue distribution for Linux and windows in x86.

If problems with the ARM as a Lazarus-Android, it's bad. I did not porting to Android in Lazarus, until a normal distribution. No easy distribution = no audience. Currently ported to Android in Delphi XE4.
Now I finish porting to Linux on x86 in Lazarus. Who got more popular ARM processors, so I ported components for ARM.
Title: Re: Linux ARM
Post by: proxy3d on May 29, 2013, 11:29:08 am
The wiki also has lots of info on raspberry pi, ARM and cross compiling.
I read in the Wiki. My question is simple. There is a distribution to Arm or not? Analogue distribution for x86 for Windows and Linux.
Installed by - was working Lazarus.
And not
Installed by - adjusted, changed, replaced, corrected, added the path and folder - was working Lazarus.
Title: Re: Linux ARM
Post by: BigChimp on May 29, 2013, 11:36:40 am
Installed by - was working Lazarus.
I don't think there's such a distribution but you can check the download page and see for yourself.

Simple answer.
Title: Re: Linux ARM
Post by: proxy3d on May 29, 2013, 11:45:23 am
Installed by - was working Lazarus.
I don't think there's such a distribution but you can check the download page and see for yourself.

Simple answer.
I was looking at.
http://freepascal.dfmk.hu/test/lazarus/
I do not know if there is a Linux distribution for ARM Linux or all of the distributions under x86.
Title: Re: Linux ARM
Post by: avra on May 29, 2013, 01:46:33 pm
I searched the forum, looked at other topics.
That doesn't show. As I have said, I get 9 pages with ARM Linux including topics that can help you.
Quote
1) I do not care Raspberry Pi.
You should. It is a popular ARM Linux board with many topics in this forum and elsewhere and good chances are that if something is done for that board, it might work on other Linux ARM boards with similar or more powerful ARM processor. You also need to care if generated binaries are hard float or not, since board needs to support it to run them. If you search a little, you will find a topic discussing Lazarus CT edition cross compiling to Raspberry Pi. You can also find how to install Lazarus under Raspbian and compile on device it self, if you prefer that way.
Title: Re: Linux ARM
Post by: proxy3d on May 29, 2013, 02:12:29 pm
You should. It is a popular ARM Linux board with many topics in this forum and elsewhere and good chances are that if something is done for that board, it might work on other Linux ARM boards with similar or more powerful ARM processor. You also need to care if generated binaries are hard float or not, since board needs to support it to run them. If you search a little, you will find a topic discussing Lazarus CT edition cross compiling to Raspberry Pi. You can also find how to install Lazarus under Raspbian and compile on device it self, if you prefer that way.

1) I watched topics. If the topics could help, I would not ask. Many topics about the Raspberry Pi.
2) If there is no convenient distribution for ARM from Lazarus, there is no audience. 20-50 people who have set up (the user needs a ready installer) compilers for ARM Lazarus - it's not the audience. No distribution - no audience.
3) Raspberry Pi is good publicity, but the platform Raspberry Pi is weak. Companies are developing on other platforms GUMSTIX, Torpedo and others. Raspberry Pi - a good platform for beginners.

At the moment I can only see the third custom distribution: Win, Linux, Mac. For other platforms, the distributions do not, so there is no audience (except for distribution package ready for the Raspberry Pi ARM and WinCe)
I'm sorry, because Delphi has more platforms. Linux (Delphi 7), Windows, MacOs (Delphi XE2), iOS (Delphi XE4), Android (Delphi XE4).
In delphi not support ARM. I thought that Lazarus did normal support ARM. I was wrong.
Title: Re: Linux ARM
Post by: avra on May 30, 2013, 09:23:27 am
...
In delphi not support ARM. I thought that Lazarus did normal support ARM. I was wrong.
It seams that you are not listening. You don't want to adapt default Lazarus for cross compiling. Ok, but did you try Lazarus CodeTyphon edition as suggested? It can produce ARM Linux executables, so what's wrong with that? I have mentioned Raspberry Pi because if you create an executable for Pi it will run on many other Linux platforms, and it's easy to find many topics on it. You do not generate Raspberry Pi applications from Lazarus by selecting Pi as a target. You select ARM Linux with some specifics if needed. Generated ARM Linux executables run on many other boards such as Gumstix, Mini2440, BeagleBone, Olinuxino, Cubieboard and others with compatible OS installed. If you don't like cross compiling, you can get Lazarus package from your distro repository, install it and run Lazarus on board producing executables right away. You can even compile Lazarus from sources on board if you want. It's all up to you.

Wish you luck with whatever you choose.
Title: Re: Linux ARM
Post by: proxy3d on May 30, 2013, 01:17:50 pm
1) CodeTyphon has more problems than Lazarus. I have not seen in CodeTyphon final distribution for ARM (analog WinCe ARM Lazarus). If a program written for many people and the program should be adjusted, it is "useless" to the user program.
Why not do the normal installer, which normally sets the compilers and programming environments for different processors? Or the big problems with installers? The total time that people use to install on other platforms (most people do not install) the more time you need to write an installer.

2) For distribution Raspberry Pi, requires a CPU Board Raspberry Pi.

3) Once again you are writing about compiling Lazarus for various platforms. What problem do the normal installer (for humans). Lazarus itself creates problems for use.
Analogy: Lazarus for ARM does not give the finished product (analogy: Cake - cream and pastry). If you want to see Lazarus-ARM, then you want Cake. You do not want cream and pastry where you need to cook.
Title: Re: Linux ARM
Post by: BigChimp on May 30, 2013, 02:30:16 pm
You're welcome to create your own installer and upload it...

You keep complaining about the situation but that hardly helps unless somebody fixes it for you. Perhaps you should try and fix it yourself if you think it's important.
Title: Re: Linux ARM
Post by: proxy3d on May 30, 2013, 03:37:21 pm
You're welcome to create your own installer and upload it...
I'm developing components for mass use.
I'm trying to assess whether Lazarus-ARM solutions for mass consumption (95% of people will not try to use the Lazarus-ARM because of the difficulty settings).
My task is the transfer of components for prospective platform. I stand for Lazarus components for x86 Win and x86 Linux.
I see a lot of problems when installing compilers for ARM instructions (these problems should be resolved by the installer).

If it is a normal description, I will write a universal installer for Lazarus-Win platforms for Linux x86, Linux-ARM, Android-ARM, if it is normally written as a set up (screenshots).
Then I can write installers for Linux for these platforms.
No installers have no interest in Lazarus. Enthusiasm for beginners passes quickly when they have a problem, install the cross platform.
This is not a complaint - it is criticism with arguments.

My components have installers. Installers are automatically updated via the Internet (check out the latest version of herself and other packages).
In this case - automatic installer from SRV (example installer trial-version) http://www.trichview.com/rvfiles/rvpkg.zip
Installers built on HTML pages (you can add a description releases, installation options, etc.), the data inside the installers for archived.
I can make Lazarus installers for Win for different platforms and processors, if the normal description of what to do (screenshots).
Title: Re: Linux ARM
Post by: BigChimp on May 30, 2013, 03:46:35 pm
This is not a complaint - it is criticism with arguments.
Well, that depends. It can be both. Don't forget that Lazarus is an open-source volunteer effort. If devs/people are not interested in writing an ARM installer, it probably won't happen.

You can, if you want to, submit a bounty (see http://wiki.lazarus.freepascal.org/Bounties#Android_bounties), if you want to increase interest.
Title: Re: Linux ARM
Post by: proxy3d on May 30, 2013, 04:48:37 pm
Well, that depends.
I'll see what can be done with installers for ARM. I have seen how to install Lazarus-Android with screenshots (not all of the action), but did not try. If the statement is correct, then I'll write installer for Lazarus-Android.
Now I'm testing lazarus-wince-arm. I do not understand why the distribution wince-arm for Windows - ok, and linux-arm for linux not.

And another question, there is an instruction set fpc-Linux for Lazarus Windows?
I think to start with an installer for Windows, which automatically installs different fpc for Linux, Android, x86, ARM for Lazarus Windows.
Title: Re: Linux ARM
Post by: jmpessoa on May 30, 2013, 05:36:03 pm
Hi Proxy3d, this link is more up to date:

ftp://freepascal.dfmk.hu/pub/lazarus/snapshots/

Greetings!
Title: Re: Linux ARM
Post by: assembly84 on February 23, 2014, 12:40:05 am
I want to transfer under the ARM components in Lazarus
1) How do I compile for ARM using the Intel?
2) What do I need to use QT for Arch Linux for ARM?
3) What do you need to compile the project under Arch Linux for ARM c QT?

What is the simplest solution? There is a distribution package ready?
Did you search forum at all? Searching ARM Linux returns 9 pages to me. Most of your questions can also be answered if you search for Raspberry Pi.

My problem seem like you, but I try to rebuild lazarus and fpc from http://svn.freepascal.org/svn/lazarus/  look ok.
But until now still found error C:/development/cross/bin/arm-linux/arm-linux-ld.exe: cannot open linker script file linux: No such file or directory  :( 

Maybe we have a good solution ?

Title: Re: Linux ARM
Post by: BigChimp on February 23, 2014, 11:50:21 am
@assembly84: I'd suggest you don't post the same question in multiple threads. It gets annoying and doesn't really help.
Title: Re: Linux ARM
Post by: assembly84 on March 02, 2014, 06:50:54 pm
@assembly84: I'd suggest you don't post the same question in multiple threads. It gets annoying and doesn't really help.


oooppsss sorrie BigChimp,  :o
TinyPortal © 2005-2018