Re: [fpc-devel] FreePascal on ARM Linux ,SoftFloat and EABI issues
Michael Schnell wrote: The next stage is to develop X apps using Lazarus. But for these I need to get FPC working. Do you really want to run Lazarus on the ARM-system ? While this _should_ be possible somehow, It might be quite slow compared to what can be done on a PC with cross-compiling. Lazarus 0.9.27 runs on an ARM system based on Debian Etch without significant problems and adequately fast. The key is to use something like FluxBox rather than KDE. I was tempted to post this using Mozilla running on an ARM system, but hopefully I don't need to go to that extreme to make the point that ARM is a viable development host as well as a target. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
[fpc-devel] FPC on ARM, Debian Lenny
Using Debian Etch, which is arm rather than armel, I was able to compile FPC 2.2.2 running natively on an ARM system. I was subsequently able to use this to compile Lazarus 0.9.27, hence generate X applications natively. I can't remember whether I did any debugging. Debian Lenny has switched to armel rather than arm. FPC 2.2.2 installs without error but trying to compile the canonical test.pas I get: /usr/bin/ld: ERROR: Source object /usr/local/lib/fpc/2.2.2/units/arm-linux/rtl/system.o has EABI version 0, but target test has EABI version 4 I think this is a fairly succinct indication of why I wasn't able to get FPC to compile itself prior to compiling Lazarus for Lenny. Looking at the Debian Lenny repository, there is an fpc metapackage but the components- fp-compiler etc.- are not available. From recent discussion I presume that to progress this I have to cross-compile, either on Debian Etch or on a non-ARM system. Can somebody point me at the information I need, and tell me explicitly what target I should be using? Is there any way I can help by packaging an armel build for download, ditto for v2.2.3 for SPARC? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] FPC on ARM, Debian Lenny
Debian Lenny has switched to armel rather than arm. Lenny is availible for both arm and armel. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] FPC on ARM, Debian Lenny
Marco van de Voort wrote: In our previous episode, Mark Morgan Lloyd said: I think this is a fairly succinct indication of why I wasn't able to get FPC to compile itself prior to compiling Lazarus for Lenny. Well, actually no, did you try to bootstrap FPC itself? Then the program generated only contains files generated with the new binutils set. Sorry, I'm not with you. I installed the same 2.2.2 binary that I'd previously used then tried to use that to compile the 2.2.2 sources. It didn't work, at which point I went back and did some more basic tests. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] FPC on ARM, Debian Lenny
En/na Mark Morgan Lloyd ha escrit: Marco van de Voort wrote: In our previous episode, Mark Morgan Lloyd said: I think this is a fairly succinct indication of why I wasn't able to get FPC to compile itself prior to compiling Lazarus for Lenny. Well, actually no, did you try to bootstrap FPC itself? Then the program generated only contains files generated with the new binutils set. Sorry, I'm not with you. I installed the same 2.2.2 binary that I'd previously used then tried to use that to compile the 2.2.2 sources. It didn't work, at which point I went back and did some more basic tests. There was a thread on fpc-pascal last june, I didn't succeed, maybe things have changed now http://thread.gmane.org/gmane.comp.compilers.free-pascal.general/11546/ Bye -- Luca ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] FPC on ARM, Debian Lenny
En/na peter green ha escrit: Debian Lenny has switched to armel rather than arm. Lenny is availible for both arm and armel. But the interesting stuff (nokia tablets, pandora) is armel Bye -- Luca ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] FPC on ARM, Debian Lenny
In our previous episode, Mark Morgan Lloyd said: [ Charset ISO-8859-1 unsupported, converting... ] Marco van de Voort wrote: In our previous episode, Mark Morgan Lloyd said: I think this is a fairly succinct indication of why I wasn't able to get FPC to compile itself prior to compiling Lazarus for Lenny. Well, actually no, did you try to bootstrap FPC itself? Then the program generated only contains files generated with the new binutils set. Sorry, I'm not with you. I installed the same 2.2.2 binary that I'd previously used then tried to use that to compile the 2.2.2 sources. It didn't work, at which point I went back and did some more basic tests. It sounded like you try to compile (actually: link) a new program for a armel 4 abi with a precompiled RTL for a armel 0 abi. My suggestion would have been to try to recompile the RTL first with the binutils that come with the armel 4 abi system. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel