Re: [fpc-devel] Lazarus issues on ARM Linux
On 8-4-2013 14:49, peter green wrote: Michel Catudal wrote: I am also having some issues with Lazarus, I am not sure if it is the right forum to talk about it. I had a previous version working fine on Rasphberry Pi. For some reason I can't get it to work on Mele A2000G. I have compiled it on gentoo on the Mele, using distcc and locally, same results. I didn't get any error during compile so I was expecting it to work. fpc seems to work, I haven't written any code with it yet, I was expecting to use lazarus to do that. My system on Mele A2000G is gentoo with mate desktop. I have everything compiled with hard float as I did on the Raphsberry Pi. Upstream 2.6.x does not support the hard float ABI so unless you have a patched version (such as the one shipped in debian) it won't correctly link against C libraries on a system that uses hard float ABIS. Also even when the hard float ABI support is present in the compiler source code you need to either bootstrap with a starting compiler that uses the hard float ABI or explictly specify -d FPC_ARMHF during the build. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel At the moment the current lazarus doesn't compile here for trunk, not even on raspberry. A couple of days ago it did. But this is today. I will put in a bug report if I checked my build stup, can reproduce it and if so isn't fixed within two days or so. Most of the time it will. You probably definitely must use trunk to get proper results for arm. Lot's of changes/improvements. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Lazarus issues on ARM Linux
Michel Catudal wrote: I am also having some issues with Lazarus, I am not sure if it is the right forum to talk about it. I had a previous version working fine on Rasphberry Pi. For some reason I can't get it to work on Mele A2000G. I have compiled it on gentoo on the Mele, using distcc and locally, same results. I didn't get any error during compile so I was expecting it to work. fpc seems to work, I haven't written any code with it yet, I was expecting to use lazarus to do that. My system on Mele A2000G is gentoo with mate desktop. I have everything compiled with hard float as I did on the Raphsberry Pi. Upstream 2.6.x does not support the hard float ABI so unless you have a patched version (such as the one shipped in debian) it won't correctly link against C libraries on a system that uses hard float ABIS. Also even when the hard float ABI support is present in the compiler source code you need to either bootstrap with a starting compiler that uses the hard float ABI or explictly specify -d FPC_ARMHF during the build. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Lazarus issues on ARM Linux
- Original Message - From: peter green plugw...@p10link.net To: FPC developers' list fpc-devel@lists.freepascal.org Sent: Monday, April 8, 2013 8:49:06 AM Subject: Re: [fpc-devel] Lazarus issues on ARM Linux Michel Catudal wrote: I am also having some issues with Lazarus, I am not sure if it is the right forum to talk about it. I had a previous version working fine on Rasphberry Pi. For some reason I can't get it to work on Mele A2000G. I have compiled it on gentoo on the Mele, using distcc and locally, same results. I didn't get any error during compile so I was expecting it to work. fpc seems to work, I haven't written any code with it yet, I was expecting to use lazarus to do that. My system on Mele A2000G is gentoo with mate desktop. I have everything compiled with hard float as I did on the Raphsberry Pi. Upstream 2.6.x does not support the hard float ABI so unless you have a patched version (such as the one shipped in debian) it won't correctly link against C libraries on a system that uses hard float ABIS. Also even when the hard float ABI support is present in the compiler source code you need to either bootstrap with a starting compiler that uses the hard float ABI or explictly specify -d FPC_ARMHF during the build. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel This web editor from comcast doesn't work correctly, only the winblows way with messages on top, so here : --- start of response-- I am not using an upstream binary file but compiled my own on gentoo. On gentoo you compile everything. The scripts that come with gentoo ARM are setup for hard floats only. I will check what you are saying tonight anyway. I will first write some pascal code to test. I think that lazarus might be the only problem since fpc didn't barf when I ran it. I might have tried lazarus on debian on Rasphberry Pi, not sure, I will double check that. I know that it worked perfectly when I did and it was hard float. I will just use Rasphberry pi as a programmer for AVR32 and PIC32, too slow for anything graphical. Michel ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Lazarus issues on ARM Linux
Le 2013-04-08 13:44, mcatu...@comcast.net a écrit : I am not using an upstream binary file but compiled my own on gentoo. On gentoo you compile everything. The scripts that come with gentoo ARM are setup for hard floats only. I will check what you are saying tonight anyway. I will first write some pascal code to test. I think that lazarus might be the only problem since fpc didn't barf when I ran it. I might have tried lazarus on debian on Rasphberry Pi, not sure, I will double check that. I know that it worked perfectly when I did and it was hard float. I will just use Rasphberry pi as a programmer for AVR32 and PIC32, too slow for anything graphical. Michel It was on debian that I tested Lazarus. On my rasphberry Pi I tried both. I went to debian when I realized that it was no possible to get firefox compiled on gentoo on the rasphberry Pi. Funny thing, I had no problem compiling it on Mele A2000G same version 17.0. I did manage to compile Mate Desktop on the raphberry Pi. It is not very fast though, much better on Mele A2000G. I will try to compile the way you explained later this week and will post my results. -- For Linux Software visit http://home.comcast.net/~mcatudal ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
[fpc-devel] Lazarus issues on ARM Linux
I am also having some issues with Lazarus, I am not sure if it is the right forum to talk about it. I had a previous version working fine on Rasphberry Pi. For some reason I can't get it to work on Mele A2000G. I have compiled it on gentoo on the Mele, using distcc and locally, same results. I didn't get any error during compile so I was expecting it to work. fpc seems to work, I haven't written any code with it yet, I was expecting to use lazarus to do that. My system on Mele A2000G is gentoo with mate desktop. I have everything compiled with hard float as I did on the Raphsberry Pi. This is a much faster ARM processor (1Ghz with 1G of RAM). Gentoo is on a 32G SD Card. Speed throttles down to 408 Mhz when idle, could that be the problem? If that is I might need to put a heatsink and recompile the uboot and/or kernel to stop the change in speed. qt is 4.10.1 I have 4.9 on rasphberry pi michel@catudal ~ $ lazarus bash: /usr/bin/lazarus: Aucun fichier ou dossier de ce type michel@catudal ~ $ ls -la /usr/bin/laz lazarus lazbuild michel@catudal ~ $ ls -la /usr/bin/lazarus lrwxrwxrwx 1 root root 29 4 avr 07:39 /usr/bin/lazarus - ../share/lazarus/startlazarus michel@catudal ~ $ ls -la /usr/share/lazarus/startlazarus -rwxr-xr-x 1 root root 18763274 4 avr 07:30 /usr/share/lazarus/startlazarus michel@catudal ~ $ michel@catudal ~ $ fpc Free Pascal Compiler version 2.6.0 [2013/04/03] for arm Lazarus is 1.0.4, i think that I have a slightly earlier version on Rasphberry Pi. It works nicely on mate. Interesting considering that the browser isn't too good on it and some applications were rather slow. Rasphberry pi is much slower than the Mele A2000G michel@catudal ~ $ emerge -p lazarus These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R *] dev-lang/lazarus-1.0.4 Michel Catudal -- For Linux Software visit http://home.comcast.net/~mcatudal ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Lazarus issues on ARM Linux
Am 08.04.2013 02:34 schrieb Michel Catudal mcatu...@comcast.net: I am also having some issues with Lazarus, I am not sure if it is the right forum to talk about it. I had a previous version working fine on Rasphberry Pi. For some reason I can't get it to work on Mele A2000G. I have compiled it on gentoo on the Mele, using distcc and locally, same results. I didn't get any error during compile so I was expecting it to work. fpc seems to work, I haven't written any code with it yet, I was expecting to use lazarus to do that. My system on Mele A2000G is gentoo with mate desktop. I have everything compiled with hard float as I did on the Raphsberry Pi. This is a much faster ARM processor (1Ghz with 1G of RAM). Gentoo is on a 32G SD Card. Speed throttles down to 408 Mhz when idle, could that be the problem? If that is I might need to put a heatsink and recompile the uboot and/or kernel to stop the change in speed. qt is 4.10.1 I have 4.9 on rasphberry pi michel@catudal ~ $ lazarus bash: /usr/bin/lazarus: Aucun fichier ou dossier de ce type michel@catudal ~ $ ls -la /usr/bin/laz lazarus lazbuild michel@catudal ~ $ ls -la /usr/bin/lazarus lrwxrwxrwx 1 root root 29 4 avr 07:39 /usr/bin/lazarus - ../share/lazarus/startlazarus michel@catudal ~ $ ls -la /usr/share/lazarus/startlazarus -rwxr-xr-x 1 root root 18763274 4 avr 07:30 /usr/share/lazarus/startlazarus michel@catudal ~ $ michel@catudal ~ $ fpc Free Pascal Compiler version 2.6.0 [2013/04/03] for arm Lazarus is 1.0.4, i think that I have a slightly earlier version on Rasphberry Pi. It works nicely on mate. Interesting considering that the browser isn't too good on it and some applications were rather slow. Rasphberry pi is much slower than the Mele A2000G michel@catudal ~ $ emerge -p lazarus These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R *] dev-lang/lazarus-1.0.4 Is it just me or did you forget to mention which problems you have exactly? Regards, Sven ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel