Hello,
I have to compile a few Pascal units with FPC and add them to a Visual
C++ project. After adding system.o to the Visual C++ project, I get
linker errors like this:
system.o : error LNK2001: unresolved external symbol _$dll$kernel32$Sleep
Apparently the Microsoft linker does not recogniz
Hello,
I have to compile a few Pascal units with FPC and add them to a Visual
C++ project. After adding system.o to the Visual C++ project, I get
linker errors like this:
system.o : error LNK2001: unresolved external symbol _$dll$kernel32$Sleep
Apparently the Microsoft linker does not recogniz
http://www.2uo.de/myths-about-urandom/
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Hi all,
I-Pascal is an IDE (mainly code editor) for Object Pascal based on
IntelliJ platform. Other products based on the platform includes IDEA,
WebStorm, Android Studio.
The platform is built around AST (abstract syntax tree) concept. The
AST is built from code and used for analysis. This
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/
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Thu, 20 Aug 2015 22:50:05 +0200, Klaus Hartnegg ()
wrote about "Re: [fpc-pascal] quality of FPC random" (in
<55d63d7d.6040...@gmx.de>):
> Am 14.08.2015 um 15:38 schrieb Xiangrong Fang:
>> I need to generate random numbers to be used as IV of block
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/jtc/entry/is_it_armhf_or_armel and
going by Ji
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 h
Tomas Hajny wrote:
I don't want to raise the confusion any further, especially if my
knowledge of ARM is zero. However - are you sure that the output of target
as displayed by FPC really shows the correct information reflecting the
supported ABI?
$ ./bin/ppcarmhf2 -l noexisting.pp
Free Pascal C
On Thu, August 20, 2015 17:01, Jonas Maebe wrote:
> On 20/08/15 16:19, Chris Moody wrote:
Jonas,
>> I see that the target is:
>>
>> Target OS: Linux for ARMEL
.
.
>> is the target os the issue?
>
> Yes, it is. Are you certain that this is with the system-installed
> compiler, and not with one
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 has not been overwritten by any of
your experi
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. Are you
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
Am 14.08.2015 um 15:38 schrieb Xiangrong Fang:
I need to generate random numbers to be used as IV of block ciphers. My
question is: is FPC built-in PRNG good enough as comparing to /dev/urandom?
NO!!!
For crypto always use /dev/urandom
On the other hand, /dev/urandom in my impression is fair
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 apt-get install ' I see apt
> ou
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 apt-get install ' I see apt
output like "Get: armel "
It can be any package lik
Am 20.08.2015 16:21 schrieb "Michael Schnell" :
>
> On 08/20/2015 02:31 PM, Sven Barth wrote:
>>
>>
>> Microsoft will probably only allow the usage of Apps (in contrast to
normal Win32 programs) there. Thus of course it requires the RT API.
>>
>
> I am happy to report that you are wrong :-)
>
> A c
On Thursday 20 August 2015 15:47:59 Chris Moody wrote:
> > http://sourceforge.net/projects/mseide-msegui/files/fpcarm/
>
> I downloaded the file from this URL and had it overwrite my installed
> FPC 2.64 files and I still got :
>
> /usr/bin/ld: warning: link.res contains output sections; did you f
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. Are you certain that this is wi
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's d
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.4/lib/fpc/
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.4/lib/fpc/2.6.4/units/arm-linux/rtl/cprt0.o: In
>
On Thu, Aug 20, 2015 at 04:19:33PM +0200, Jonas Maebe wrote:
> On 20/08/15 16:15, Henry Vermaak wrote:
> > Those symbols (_fini and _init) are defined in crti.o. Try `locate
> > crti.o`, you'll get something like /usr/lib/{arch-triplet}/crti.o. Add
> > this directory to your fpc options with -Fl.
On 08/20/2015 02:31 PM, Sven Barth wrote:
Microsoft will probably only allow the usage of Apps (in contrast to
normal Win32 programs) there. Thus of course it requires the RT API.
I am happy to report that you are wrong :-)
A colleague of mine already since a few days does have the Intel I
On 20/08/15 16:15, Henry Vermaak wrote:
> Those symbols (_fini and _init) are defined in crti.o. Try `locate
> crti.o`, you'll get something like /usr/lib/{arch-triplet}/crti.o. Add
> this directory to your fpc options with -Fl. E.g. fpc
> -Fl/usr/lib/arm-linux-gnueabi
Please do not do that. Th
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':
(.text+0x8
On 08/20/2015 02:31 PM, Sven Barth wrote:
Please keep in mind that while Windows 10 works on PCs, smartphones,
the XBox, the HoloLens and other embedded systems this does not mean
that developers are allowed to use the Win32 API everywhere (in fact
the only one which allows it seems to be PC)
On Thu, Aug 20, 2015 at 07:03:11AM -0700, 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':
> (.text+0x88): undefined
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':
> (.text+0x88): undefined reference to `_fini
On 2015-08-20 15:03, Chris Moody wrote:
> I've done that. Still can't compile code due to ld:
If you want I can dump my 4GB SD card to a compressed img and make it
available for download on my server. It is the stock Raspbian with
EasyFPC - thus a working FPC 2.6.2 compiler.
Alternatively, I can
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
> supported on the Pi.
I still don't understa
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
supp
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's demo IDE (gui app).
Regards,
- Graeme -
__
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 seems to not ren
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 Thursday 20 August 2015 14:46:15 Jonas Maebe wrote:
> > May I suggest to open a section in the Wiki where the necessary settings
> > for different known ARM hardware/software targets are listed, can be
> > approved by the experts and added to "compiler/README.txt" where it can
> > be kept in sy
Michael Schnell wrote:
On 08/20/2015 03:42 AM, Fabio Luis Girardi wrote:
Everyone know some alternative (or more elegant)...
AFAIK FPC does not support using objects (er even strings) cross a
dynamic library interface.
Unless you explicitly use the cmem library. However even then it's
bas
On 20/08/15 14:34, Martin Schreiber wrote:
> On Thursday 20 August 2015 10:01:03 Jonas Maebe wrote:
>>
>> The problem Linux/ARM specifically is also that you have to be pretty
>> much an expert at Linux/ARM and know exactly what the capabilities of
>> your ARM hardware are before you can know what
On Thursday 20 August 2015 10:01:03 Jonas Maebe wrote:
>
> The problem Linux/ARM specifically is also that you have to be pretty
> much an expert at Linux/ARM and know exactly what the capabilities of
> your ARM hardware are before you can know what you have to build,
> independent of instructions
Am 20.08.2015 12:45 schrieb "Michael Schnell" :
>
> On 08/20/2015 08:02 AM, Sven Barth wrote:
>>
>>
>>
>> Not if Microsoft requires apps to use the Windows RT APIs (probably even
in form of universal apps). Because FPC has zero, null, nadda support for
this.
>>
>> And even then you'd need a suitabl
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 programs (serial debug terminal, fpGUI's visual
forms
On 08/20/2015 03:42 AM, Fabio Luis Girardi wrote:
Everyone know some alternative (or more elegant)...
AFAIK FPC does not support using objects (er even strings) cross a
dynamic library interface.
Delphi has "Runtime Packages" for this. But those are not (yet)
implemented in fpc (which woul
On Thu, 20 Aug 2015, Michael Schnell wrote:
On 08/20/2015 08:02 AM, Sven Barth wrote:
Not if Microsoft requires apps to use the Windows RT APIs (probably even in
form of universal apps). Because FPC has zero, null, nadda support for
this.
And even then you'd need a suitable assembler th
On 08/20/2015 08:02 AM, Sven Barth wrote:
Not if Microsoft requires apps to use the Windows RT APIs (probably
even in form of universal apps). Because FPC has zero, null, nadda
support for this.
And even then you'd need a suitable assembler that can assemble to
ARM-COFF (don't know whether
Martin Schreiber wrote:
Where can we find a list of the possible and necessary options for building
the Free Pascal compiler? "compiler/README.txt" looks incomplete.
The most complete documentation is Marco's buildfaq:
How can we find out the possible make targets and its meanings in "compile
On Thursday 20 August 2015 09:07:59 Jonas Maebe wrote:
> Chris Moody wrote:
> > Free Pascal Compiler version 3.0.0rc1 [2015/08/19] for arm
> > Copyright (c) 1993-2015 by Florian Klaempfl and others
> > Target OS: Linux for ARMEL
>
> This means that you probably did not specify OPT=-dFPC_ARMHF while
Chris Moody wrote:
Free Pascal Compiler version 3.0.0rc1 [2015/08/19] for arm
Copyright (c) 1993-2015 by Florian Klaempfl and others
Target OS: Linux for ARMEL
This means that you probably did not specify OPT=-dFPC_ARMHF while
building FPC 3.0.
Jonas
48 matches
Mail list logo