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
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
float versions
of Raspbian. Your compiler may work because you also installed the ARMEL
version of libc6-dev.
That's another thing:
* Chris may also to solve his problem by installing the ARMEL version of
libc6-dev (package name: libc6-dev-armel )
* however, if he then compiles his program and g
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
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
ows
of another location? I was unable to find another one.
Chris
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
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
There were 1 errors compiling module, stopping
Fatal: Compilation aborted
Error: /home/pi/fpc-2.6.4/bin/ppcarm returned an error exitcode (normal
if you did not specify a source file to be compiled)
I'm not sure how to fix this. If anyone can assist, it would be greatly
appreciated.
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
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'
issue it on the Pi?
Thanks,
Chris
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
upport
armhf. Most likely the 3.0 pre-release will compile the same way, but
I never tried.
You need to have cross-binutils installed as you need
arm-linux-gnueabihf-* tools to be able to successfully compile.
Michael
Hi Michael,
Just to make sure, I run the script on the deskt
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
ling? or do you just
call fpc with the right parameters?
Mind sharing your setup?
Thanks,
Chris
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
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
http://wiki.freepascal.org/fpcup#Linux_ARM_cross_compiler ? specifically
as far as this sentence is concerned:
* Linux/Unix build or install the relevant crossbinutils (Linux, unix)
Thanks in advance!
Chris
___
fpc-pascal maillist - fpc-p
is where I call this procedure
from the main code.
How do I track down what is going on?
If your familiar with PHP, my purpose of this procedure is to basically
emulate the following code:
Thanks in advance,
Chris
___
fpc-pascal maillist -
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.
rmal array and then process the data? Or best to step
through the TJSONArray?
I'm not sure how to copy a TJSONArray to an Array, I tried: A:=
E.Value.AsArray; but that of course did not work.
Any suggestions are as normal greatly appreciated,
Chris
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
e(jsonfile);
J:=GetJSON(json);// Error is here.
ReadJSON := J.FindPath(node).AsString;
end;
Does this mean my Lazarus / FPC is out of date? Or I'm using the wrong
library or something?
Chris
___
fpc-pascal maillist - f
much appreciated.
Chris
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Hi Marc,
Thanks for the feedback. One more question and I think I'm done for now
and able to finish the program I'm writing:
If FindNode does not locate a node with the given name, what does it
return?
Thanks,
Chris
On 07/24/2015 01:34 PM, Marc Santhoff wrote:
On Fr, 2015-07-2
s:
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?
Thanks in advance!
Chris
___
fpc-pasca
here a way to pass an URL to ReadXMLFile?
Thanks in advance!
Chris
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Jonas Maebe wrote:
On 25 Jan 2009, at 11:43, Chris Kirkpatrick wrote:
I have recently been getting the following error when tring to
compile fpc using the standard sequence:
svn update fpc
make clean
make all
I tried deleting my complete fpc repository and checking out again;
same thing
report it as a bug, or am I doing
something wrong?
Chris
... last few lines of compilation:
/home/kirkpatc/FreePascal/fpc/trunk/compiler/ppc386 -XX -CX -Ur -Xs -O2
-n -S2h -Fu/home/kirkpatc
/FreePascal/fpc/trunk/rtl/units/i386-linux
-Fu/home/kirkpatc/FreePascal/fpc/trunk/packages/fcl-ba
se/units
> I'd like to store an address of a local function in a variable, and
> call that local function, but I don't know how to define a variable of
> type "local function". Here's the error I'm stuck on, with sample
> code:
"One can assign the following values to a procedural type variable:
1. Nil, fo
Why don't you "just code in pascal" any more? I hope you haven't moved to
another language. Farewell!
PO Box 627 00502 Karen,
Nairobi, Kenya.
Mobile: +254 722 996532
Fixed: +254 20 2050859
[EMAIL PROTECTED]
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf O
Also please note that I am writing a daemon that will be cron'd so I wont be
using lazarus. Let me see what I can come up with. Thanks all.
PO Box 627 00502 Karen,
Nairobi, Kenya.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris
Kirkpatrick
/Lazarus_DB_Faq
Regards - Chris
Michael Van Canneyt wrote:
On Tue, 22 Apr 2008, Chris wrote:
Thanks,
Where can I get these classes?
Directories
packages/fcl-db/src/sqldb
and below.
Michael.
PO Box 627 00502 Karen,
Nairobi, Kenya.
-Original Message-
From: [EMAIL
freepascal
On Tue, 22 Apr 2008, Chris wrote:
> Hi,
>
> I am a newbie in freepascal but I have used turbo pascal and Delphi
> extensively for the last 7 years or so; I want to write an application for
> my linux box to do some crude form of replication of mysql databases. I am
&
Hi,
I am a newbie in freepascal but I have used turbo pascal and Delphi
extensively for the last 7 years or so; I want to write an application for
my linux box to do some crude form of replication of mysql databases. I am
just trying to figure out how to use the mysql50 unit, but cannot find heads
OK - speaking a bit loosely! When trying to untangle database stuff, I
need to refer to both Units.
Sorry - Chris
Michael Van Canneyt wrote:
On Mon, 4 Feb 2008, Chris Kirkpatrick wrote:
Hi Joost -
Would you have time to do the same for SQLDb? Otherwise, should I do a
MakeSkel and send you
Hi Joost -
Would you have time to do the same for SQLDb? Otherwise, should I do a
MakeSkel and send you a zipped file to commit?
I have already started work on Db, but the two units depend heavily upon
each other.
Regards - Chris
Joost van der Sluis wrote:
Op vrijdag 25-01-2008 om 23:59 uur
As far as I can see, there are no files relevant to fc-db or SQLDb in
this repository. Have you committed your skeleton XMLs yet? If so, in
which subdirectory?
Regards - Chris
Joost van der Sluis wrote:
As fcl-db and sqldb are parts of fpc, the documenatation should be in
the fpc-docs
Yes please, an empty skeleton would be a very useful start. I can send
you patches when I have made changes to the XMLs.
Regards - Chris
Joost van der Sluis wrote:
As fcl-db and sqldb are parts of fpc, the documenatation should be in
the fpc-docs-repository. I have full write access there so
mailing list, in the hope that more
volunteers may emerge!
Please keep in touch and keep the impetus going.
Regards - Chris
John wrote:
Adrian Maier wrote:
Are there any people still interested in making it possible to have
some real
docs for sqldb and fcl-db ?
If so, let's org
dsgnintf.pas, then
just add
// this file in your project:
// dsgnintf.pas in 'C: \Program
Files\Borland\Delphi5\Source\Toolsapi\dsgnintf.pas'
Should this be removed? Does it infringe copyright? Is it even useful?
Regards - Chris
___
ffer links to suitable places to get information.
Hope this helps
Regards - Chris
Edward Kearns wrote:
I am new to FPC, and can't get started. I have used Think Pascal, and
I seem to have quite a hurdle here. Someone else told me that I need
to start XCode first. I did that, then I chose
arget ID of is unknown: "TCustomControl"
> Warning: Target ID of is unknown: "TWinControl"
> Warning: Target ID of is unknown: "TControl"
Regards - Chris
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>L505 wrote:
>First thing to check is it declared CDECL or STDCALL in the C library?
>I think the default C declaration mode is CDECL if it is not defined
explicitely.
I knew it was gonna be the obvious. I changed:
function testreturn(thename:pchar;rcity:pchar;rstate:pchar):integer;
stdcal
I get an "Access violation" when I call a function from a C library.
Not sure if I can explain well enough, so I will just post the code:
The C library:
#include
#include
int testreturn(const char *thename, char *rcity, char *rstate)
{
memcpy (rcity,"Boston",7);
memcpy (rstate,"Massa
58 matches
Mail list logo