Re: [fpc-pascal] Any suggestion for raspberry pi ?
Hi, I've compiled a program on a raspberry pi with Linux rpi2 3.6.11+ #538 PREEMPT Fri Aug 30 20:42:08 BST 2013 armv6l GNU/Linux on one raspberry pi, run it and it works. I copied the binary program to another raspberry pi with the same kernel revision and I've got a segmentation fault. What to do if I I want to compile the sources only on one machine, without copying the sources to any other machine ? Thanks, Stefan Am 30.08.2013 um 16:10 schrieb Henry Vermaak henry.verm...@gmail.com: On Fri, Aug 30, 2013 at 03:44:35PM +0200, Stefan Fischer wrote: Hi, a longer time ago, i've installed lazarus on my raspberry pi with wheezy. The fpc version was 2.6.0-xxx I could compile without any problem. Today I've downloaded fpc 2.6.2 and installed it. But now I have problems with the linker: Free Pascal Compiler version 2.6.2 [2013/02/15] for arm Copyright (c) 1993-2012 by Florian Klaempfl and others Target OS: Linux for ARMEL Compiling rfm.pas Assembling rfm Linking rfm /usr/bin/ld: warning: link.res contains output sections; did you forget -T? /usr/lib/fpc/2.6.2/units/arm-linux/rtl/cprt0.o: In function `_haltproc_eabi': (.text+0x88): undefined reference to `_fini' /usr/lib/fpc/2.6.2/units/arm-linux/rtl/cprt0.o: In function `_haltproc_eabi': (.text+0x90): undefined reference to `_init' This sounds like it may be a multiarch thing biting you. Those symbols are in crti.o, and perhaps fpc isn't finding it. I vaguely remember getting a problem like this and fixing it by adding -Fl/usr/lib/arch-triplet. You can use `locate` to check where it is. Henry ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal Mit freundlichen Gruessen, Stefan Fischer BASIS GmbH ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Any suggestion for raspberry pi ?
On Fri, Aug 30, 2013 at 03:44:35PM +0200, Stefan Fischer wrote: Hi, a longer time ago, i've installed lazarus on my raspberry pi with wheezy. The fpc version was 2.6.0-xxx I could compile without any problem. Today I've downloaded fpc 2.6.2 and installed it. But now I have problems with the linker: Free Pascal Compiler version 2.6.2 [2013/02/15] for arm Copyright (c) 1993-2012 by Florian Klaempfl and others Target OS: Linux for ARMEL Compiling rfm.pas Assembling rfm Linking rfm /usr/bin/ld: warning: link.res contains output sections; did you forget -T? /usr/lib/fpc/2.6.2/units/arm-linux/rtl/cprt0.o: In function `_haltproc_eabi': (.text+0x88): undefined reference to `_fini' /usr/lib/fpc/2.6.2/units/arm-linux/rtl/cprt0.o: In function `_haltproc_eabi': (.text+0x90): undefined reference to `_init' This sounds like it may be a multiarch thing biting you. Those symbols are in crti.o, and perhaps fpc isn't finding it. I vaguely remember getting a problem like this and fixing it by adding -Fl/usr/lib/arch-triplet. You can use `locate` to check where it is. Henry ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] a suggestion...
ϸòð Êîñàðåâñêèé ñ mail.ru wrote: FK Jonas Maebe wrote: On 24 mei 2006, at 17:30, Florian Klaempfl wrote: Not really because it is simply a tar ball of several .tar.gz. Because gzip is spread wider, we use this instead of bzip2/7zip. Isn't bzip2 available more or less everywhere nowadays? (at least where gzip is available, and in particular on Linux?) FK At least on debian woody it wasn't installed by default. No idea about FK sarge. Just wondering: is RAR considered spread wide? No. I know that compressor is commercial, Thus everybody building releases needs to buy a rar license? but uncompressor is not (sources are available, if I remember right), and it compresses sources better than gzip by 25% (often even more). There are better compressors, they are free (sometimes even open source), but support matters (dos, windows, pocket pc, linux, free bsd and macos x versions are ready to download). Or is it completely unacceptable because it isn't free? So the fpc installer needs to deliver a unrar binary? Forget about this on Linux, this requires more maintainance work than fpc itself ;) ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] a suggestion...
Krishna wrote: Hi all, Is there any particular reason for not compressing the release tarballs (Linux f.e) with say bzip2 or even 7zip? The uncompressed tarball weighs in around 24M and I'm sure bzipping will reduce it by a large margin. Not really because it is simply a tar ball of several .tar.gz. Because gzip is spread wider, we use this instead of bzip2/7zip. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] a suggestion...
On 24 mei 2006, at 17:30, Florian Klaempfl wrote: Not really because it is simply a tar ball of several .tar.gz. Because gzip is spread wider, we use this instead of bzip2/7zip. Isn't bzip2 available more or less everywhere nowadays? (at least where gzip is available, and in particular on Linux?) Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] a suggestion...
Jonas Maebe wrote: On 24 mei 2006, at 17:30, Florian Klaempfl wrote: Not really because it is simply a tar ball of several .tar.gz. Because gzip is spread wider, we use this instead of bzip2/7zip. Isn't bzip2 available more or less everywhere nowadays? (at least where gzip is available, and in particular on Linux?) At least on debian woody it wasn't installed by default. No idea about sarge. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal]A suggestion.
On vrijdag, jul 25, 2003, at 08:30 Europe/Brussels, A.J. Venter wrote: I miss being able to put the cursor on a function/procedure/reserved word name and hitting F1 to see the help section for it. The text mode IDE already has support for this (using the html documentation). Jonas ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal]A suggestion.
On Fri, Jul 25, 2003 at 10:33:19AM +0200, Jonas Maebe wrote: On vrijdag, jul 25, 2003, at 08:30 Europe/Brussels, A.J. Venter wrote: I miss being able to put the cursor on a function/procedure/reserved word name and hitting F1 to see the help section for it. The text mode IDE already has support for this (using the html documentation). I use to use borland's turbo pascal ide once too, but I don't miss this feature :) Nowadays vim suits be better cheers James Jonas ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal -- - - James Mills Zero Defect Software Engineers Group - ZDSEG ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal]A suggestion.
Trouble is, that is the only feature I miss ! Everything else about the borland IDE is downright annoying in it's primitiveness. Had this not been the case, I would have been using the fp ide anyway. I use vim myself. Hence my thought of a separate proggie that can do this. The easy way here would be to extract the section of the fp ide that does this, and create a modified standalone version that simply dumps the results to standard out. No sense reinventing the wheel, except for one tiny downside - we have no access to the ide sources. Perhaps someone who does could mail me just the part in question, I will do the rest. I cannot imagine I am the only one who would like this. Mind you, it would even make a nifty plugin for lazarus. A.J. On Fri, 2003-07-25 at 14:11, James Mills wrote: On Fri, Jul 25, 2003 at 10:33:19AM +0200, Jonas Maebe wrote: On vrijdag, jul 25, 2003, at 08:30 Europe/Brussels, A.J. Venter wrote: I miss being able to put the cursor on a function/procedure/reserved word name and hitting F1 to see the help section for it. The text mode IDE already has support for this (using the html documentation). I use to use borland's turbo pascal ide once too, but I don't miss this feature :) Nowadays vim suits be better cheers James Jonas ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal -- Do not try to think outside the box. That's impossible. Instead only try to realise the truthThere is no box. A.J. Venter Tech Guru DireqLearn. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal]A suggestion.
On vrijdag, jul 25, 2003, at 14:17 Europe/Brussels, A.J. Venter wrote: No sense reinventing the wheel, except for one tiny downside - we have no access to the ide sources. Sure you do, checkout the module ide from cvs. The problem with the IDE is that you can't build the version we distribute, because of the problems with the Free Vision license. Jonas ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal