Hi all,
Going back to my cross compile to Pi question a while ago. I wounded up
having to install crosstool-ng to cross compile VLC for the Pi.
Could this tool also be used to to cross compile FPC apps?
Chris
___
fpc-pascal maillist - fpc-pascal@l
On 08/21/2015 01:08 AM, Jonas Maebe wrote:
Chris Moody wrote:
Seems it compiles but still complains about linking.
Free Pascal Compiler version 3.0.0rc1 [2015/08/20] for arm
Copyright (c) 1993-2015 by Florian Klaempfl and others
Target OS: Linux for ARMHF
Assembling dentist
Linking Dentist
On 08/20/2015 03:16 PM, Jonas Maebe wrote:
Chris Moody wrote:
To further add to the confusion, I found my Raspberry did not have
locate installed, so I asked apt-get to get a copy and it obtained:
Unpacking locate (from .../locate_4.4.2-4_armhf.deb) ...
I did locate https://blogs.oracle.com
On 08/20/2015 03:16 PM, Jonas Maebe wrote:
Chris Moody wrote:
To further add to the confusion, I found my Raspberry did not have
locate installed, so I asked apt-get to get a copy and it obtained:
Unpacking locate (from .../locate_4.4.2-4_armhf.deb) ...
I did locate https://blogs.oracle.com
On 08/20/2015 02:38 PM, Jonas Maebe wrote:
Chris Moody wrote:
The current FPC is from apt-get
pi@raspberrypi ~ $ which fpc
/usr/bin/fpc
pi@raspberrypi ~ $ which ppcarm
/usr/bin/ppcarm
Ok, now please remove and reinstall that compiler (apt-get remove fpc;
apt-get install fpc) to ensure it
On 08/20/2015 08:01 AM, Jonas Maebe wrote:
On 20/08/15 16:19, Chris Moody wrote:
I see that the target is:
Target OS: Linux for ARMEL
I do have /usr/lib/arm-linux-gnueabihf/crti.o
I don't need to specify -Fu/usr/lib/fpc/2.6.4/units/arm-linux
is the target os the issue?
Yes, it is
On 08/20/2015 09:52 AM, Jonas Maebe wrote:
On 20/08/15 18:25, Graeme Geldenhuys wrote:
On 2015-08-20 16:01, Jonas Maebe wrote:
Yes, it is. Are you certain that this is with the system-installed
compiler
My working FPC 2.6.0 and 2.6.2 also says "Linux for ARMEL".
Incidentally, if I do 'sudo
On 08/20/2015 07:02 AM, Graeme Geldenhuys wrote:
On 2015-08-20 14:46, Chris Moody wrote:
Thanks for that. Do you happen to know if you can build console based
apps with it also?
Yes definitely. I just tried with the latest archive from Paul. I could
compile and link console apps and fpGUI
On 08/20/2015 07:37 AM, Martin Schreiber wrote:
On Thursday 20 August 2015 16:03:11 Chris Moody wrote:
I've done that. Still can't compile code due to ld:
Assembling dentist
Linking Dentist
/usr/bin/ld: warning: link.res contains output sections; did you forget -T?
/home/pi/fpc-2.6
On 08/20/2015 07:11 AM, Jonas Maebe wrote:
On 20/08/15 16:03, Chris Moody wrote:
Assembling dentist
Linking Dentist
/usr/bin/ld: warning: link.res contains output sections; did you forget -T?
/home/pi/fpc-2.6.4/lib/fpc/2.6.4/units/arm-linux/rtl/cprt0.o: In
function `_haltproc_eabi':
(
On 08/20/2015 06:56 AM, Jonas Maebe wrote:
On 20/08/15 15:46, Chris Moody wrote:
Thanks for that. Do you happen to know if you can build console based
apps with it also? I have a deadline fast approaching, and at this point
seriously considering re-writing the code in a language I know is
On 08/19/2015 10:52 PM, Martin Schreiber wrote:
On Thursday 20 August 2015 00:56:46 Chris Moody wrote:
How do I verify what mine uses? I've found the directions at
http://michellcomputing.co.uk/blog/2014/05/freepascal-2-7-1-on-raspberry-pi
/ can't seem to be followed as Thaddy se
On 08/20/2015 04:53 AM, Graeme Geldenhuys wrote:
Hi Chris,
I thought you might try the following pre-built FPC ARM compiler created
by Paul Breneman - packaged as "EasyfpGUI". He packages everything you
need to get started into a single 5.7MB zip archive. It even includes
fpGUI and some demo p
On 08/19/2015 03:56 PM, Chris Moody wrote:
On 08/19/2015 03:41 PM, Graeme Geldenhuys wrote:
On 2015-08-19 21:12, Jonas Maebe wrote:
while the Raspberry Pi uses ARM EABIHF.
Doesn't that apply only for the newer Raspberry Pi 2 models? I have
Raspberry Pi 1 model B revision 2, and I be
On 08/19/2015 02:14 AM, Michael Schnell wrote:
Did anybody try to compile fpc programs for this variant of Windows 10.
It is available for ARM (eg it's said to run on the RasPI) and on
Intel (e.g. for the "MinnowBoard Max") .
Seemingly M$ suggest to do non-native software (Java or C#) (->
h
On 08/19/2015 03:41 PM, Graeme Geldenhuys wrote:
On 2015-08-19 21:12, Jonas Maebe wrote:
while the Raspberry Pi uses ARM EABIHF.
Doesn't that apply only for the newer Raspberry Pi 2 models? I have
Raspberry Pi 1 model B revision 2, and I believe mine uses ARM EABI.
Regards,
- Graeme -
Ho
On 08/19/2015 01:12 PM, Jonas Maebe wrote:
On 19/08/15 22:02, Chris Moody wrote:
So I reset up my Pi and I was able to get the current version of FPC to
get as far as the linking stage, at which point it shows this:
/usr/bin/ld: warning: link.res contains output sections; did you forget -T
On 08/19/2015 01:08 PM, Karoly Balogh (Charlie/SGR) wrote:
Hi,
On Wed, 19 Aug 2015, Chris Moody wrote:
I'm not sure how to fix this. If anyone can assist, it would be greatly
appreciated.
You link against the libc (because of the nature of the source you're
compiling) but C d
Hi all,
So I reset up my Pi and I was able to get the current version of FPC to
get as far as the linking stage, at which point it shows this:
/usr/bin/ld: warning: link.res contains output sections; did you forget -T?
/home/pi/fpc-2.6.4/lib/fpc/2.6.4/units/arm-linux/rtl/cprt0.o: In
function
On 08/19/2015 12:57 AM, Jonas Maebe wrote:
/home/chris/Documents/fp/fpcbuild-2.6.4/binutils/bin/as --version
Somehow this was for x86 linux, not sure how that happened. Will have to
look again.
Chris
___
fpc-pascal maillist - fpc-pascal@lists.fre
On 08/19/2015 12:38 AM, Graeme Geldenhuys wrote:
On 2015-08-19 05:11, Chris Moody wrote:
I tried to compile Lazarus on the Pi and
it got to this point:
Personally, I think Lazarus is a bit "heavy" for the RPi and would opt
for something lighter and faster. The RPi is not a very f
On 08/18/2015 02:34 PM, Chris Moody wrote:
On 08/18/2015 02:29 PM, Graeme Geldenhuys wrote:
On 2015-08-18 21:03, Chris Moody wrote:
Or perhaps even better,
how can I get the command Lazarus sends to FPC from my computer so I
can
issue it on the Pi?
"Project -> Project Options
On 08/18/2015 02:29 PM, Graeme Geldenhuys wrote:
On 2015-08-18 21:03, Chris Moody wrote:
Or perhaps even better,
how can I get the command Lazarus sends to FPC from my computer so I can
issue it on the Pi?
"Project -> Project Options -> Show Options"
'Show Options'
Having issues getting cross compiling to work, so here's another idea:
What files would I need to move from Lazarus on my computer to the Pi,
so it will be able to find all of the libraries? Or perhaps even better,
how can I get the command Lazarus sends to FPC from my computer so I can
issue
On 08/18/2015 01:24 AM, Michael Ring wrote:
This is how I build fpc trunk cross compiler:
echo "Building fpchf-linux from trunk"
SUBARCH=armv7
CROSSOPT="-dREVINC -dFPC_ARMHF -CX -CpARMV7A -CfVFPV3_D16 -OpARMV7A
-O2 -OoFASTMATH -XX -Xs"
//CROSSOPT="-dREVINC -dFPC_ARMHF -CX -CpARMV6 -Cf
On 08/15/2015 08:46 PM, Chris Moody wrote:
On 08/15/2015 07:40 PM, Karoly Balogh (Charlie/SGR) wrote:
Hi,
On Sat, 15 Aug 2015, Chris Moody wrote:
Is there a better guide on how to do this than:
http://wiki.freepascal.org/fpcup#Linux_ARM_cross_compiler ? specifically
as far as this
On 08/17/2015 05:15 AM, Karoly Balogh (Charlie/SGR) wrote:
Hi,
On Mon, 17 Aug 2015, Michael Schnell wrote:
Cross compiling with fpc is not for that faint of heard. (Been there some
years ago)
Well, I do it 8 hours a day for a living, actually... :) I think it's
really easy these days, if yo
On 08/15/2015 11:37 PM, Martin Schreiber wrote:
On Sunday 16 August 2015 02:33:24 Chris Moody wrote:
Hi all,
I think my project is almost done, wanted to see how fast it ran under
the Pi which its destined to be on. After spending a long time trying to
get it to compile there I decided I
On 08/15/2015 07:40 PM, Karoly Balogh (Charlie/SGR) wrote:
Hi,
On Sat, 15 Aug 2015, Chris Moody wrote:
Is there a better guide on how to do this than:
http://wiki.freepascal.org/fpcup#Linux_ARM_cross_compiler ? specifically
as far as this
sentence is concerned:
* Linux/Unix build or
On 08/15/2015 06:40 PM, Karoly Balogh (Charlie/SGR) wrote:
Hi,
On Sat, 15 Aug 2015, Chris Moody wrote:
Is there a better guide on how to do this than:
http://wiki.freepascal.org/fpcup#Linux_ARM_cross_compiler ? specifically as far
as this
sentence is concerned:
* Linux/Unix build or
Hi all,
I think my project is almost done, wanted to see how fast it ran under
the Pi which its destined to be on. After spending a long time trying to
get it to compile there I decided I'd see if cross compiling may be any
faster.
Is there a better guide on how to do this than:
http://wiki
Hi all,
I have this procedure in my program:
procedure DisplayNode (var node:astring);
var c, i:integer;
begin
i:=SizeOf(node);
if (i=0) then begin
writeln ('node was empty / non existant');
exit;
end;
for c:=0 to i do
writeln (node[c]);// line 85
end;
astring is an Ar
On 08/12/2015 12:36 AM, Michael Van Canneyt wrote:
On Wed, 12 Aug 2015, Chris Moody wrote:
Hi all,
First off thanks to all who have provided help over the past few
weeks, I just have one last thing I'm trying to unravel (that I know
of currently) and this project should be done.
Hi all,
First off thanks to all who have provided help over the past few weeks,
I just have one last thing I'm trying to unravel (that I know of
currently) and this project should be done.
The JSON feed I'm reading will have 2 arrays in it, would it be best to
copy these to a normal array an
On 08/07/2015 12:46 AM, Michael Van Canneyt wrote:
On Fri, 7 Aug 2015, Chris Moody wrote:
On 08/06/2015 07:01 PM, leledumbo wrote:
I download a file from a server that contains JSON code. I'm not
sure how
to read it into something that GetJSON is able to handle.
Can't you
On 08/06/2015 07:01 PM, leledumbo wrote:
I download a file from a server that contains JSON code. I'm not sure how
to read it into something that GetJSON is able to handle.
Can't you figure out from the function interface:
http://www.freepascal.org/docs-html/fcl/fpjson/getjson.html
Dentist.pa
Hi all,
For my current project, I download a file from a server that contains
JSON code. I'm not sure how to read it into something that GetJSON is
able to handle.
My first thought was using TStrings, however not sure how to convert a
TString into TStream.
Any assistance would be much appr
4 at 11:57 -0700, Chris Moody wrote:
Would it be easiest to introduce a fourth element to the XML that says
how many children the 3rd element has? Or is there an easy way already
to get this and just run a for next loop to read each child?
Maybe sth. like this would do:
1>/child>
Hi all,
For the app I'm writing, it will have 3 elements in the XML document it
reads. The first 2 will only have one child element. The third one will
be from 1 to whatever.
I'm also designing the app that will create the XML file for the app to
read also, so a couple of questions:
Would
Hi all,
Currently working on an app which needs to be able to read an XML from a
website. Looking at the page at http://wiki.freepascal.org/XML_Tutorial
it appears there is no way to get XML directly from a URL.
Do I need to pull the page down via :
function GetWebPageContent(const Url: str
40 matches
Mail list logo