On 12/09/12 19:51, Krzysztof wrote:
Hi,
Exists any multiplatform function which check if string contains not
allowed characters (like< > / \ on windows) for filename?
Regards
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.f
On 30/10/12 14:26, ik wrote:
Hello,
I have the following function:
function OneToTwoComplement(AValue: QWord): QWord;
begin
Result := (AValue xor $) + 1;
end;
What am I missing here that makes the compiler complain about "Range
check error while evaluating constants" ?
Why d
hat for unit
dependences. (I was hoping for a full class heirachy diagram).
http://pasdoc.sipsolutions.net/
Regards,
Peter
On 22/11/12 15:18, denisgolovan wrote:
Hi all
Now and again, I am trying to debug complex circular references.
By complex circular references I mean those which are
efsu5.html#x27-260003.1.1
"Please note that the *qword and int64 types are not true ordinals*, so
some Pascal constructs will not work with these two integer types." {/sic/}
Regards,
Peter
___
fpc-pascal maillist - fpc-pascal@lists
eepascal.org/mailman/listinfo/fpc-pascal
I would recommend geany
http://www.geany.org/
First class tool with native support for pascal.
Peter
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
HI,
You might like Geany.
http://www.geany.org/Main/About
Peter
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Perhaps you need the {$PACKENUM n} compiler directive for the enumerated
type?
On 02/10/13 18:09, Juha Manninen wrote:
> If I have have a set with < 9 elements, like :
>
> type
> TMyEnum = (
> xOne,
> xTwo,
> xThree,
> xFour,
> xFive
> );
> // Count <= 8, fits in one Byt
"Am I really supposed to download those ~40 packages separately"
Usually, in situations like this, one just installs a meta package with a
package manager.
The meta package is just a list of required dependencies, and downloads other
packages as needed.
I installed this one.
http://packages.
If folks prefer to stick with
ftp://ftp.hu.freepascal.org/pub/fpc/dist/2.4.4/i386-linux/deb/
then fpc_2.4.4-0_all.deb is probably the [single meta]package to install.
A readme file in the folder clearly explaining that would be helpful.
On 15/06/11 22:08, Ludo Brands wrote:
Adding debian unsta
If you look carefully, you'll see the 64-bit 2.4.4 .deb releases are not even
generated. {in ftp.hu.freepascal.org}
Good point. In addition to the Debian packages I mentioned earlier there
is a complete single file tar-ball here for x86_64
http://www.archlinux.org/packages/community/x86
The RPM and deb's are generated if there is enough interest
Looking at
http://www.freepascal.org/down/x86_64/linux-ftp.freepascal.org.var the
rpm is already there.
Ubuntu/MInt users should have the 'alien' tool in their repositories
which can easily create a usable .deb file from a .rpm
e minimal) xmm code
from Pascal without dropping into assembler. Are there any other
compiler switches that would help?
Peter
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
HI,
Does this release include intrinsic ROL & ROR?
'Bug' 6300 is shown as fixed, but I can find no mention in the new
features list.
http://bugs.freepascal.org/view.php?id=6300
On 05/11/11 23:27, Marco van de Voort wrote:
Hello,
We have placed the first release-candidate of the Free Pas
Graeme,
I would recommend using Marsaglia's XORShift.
Blisteringly fast, high quality statistically, and very easy to implement.
http://en.wikipedia.org/wiki/Xorshift
Regards,
Peter
On 07/12/11 13:10, Graeme Geldenhuys wrote:
On 7 December 2011 14:54, Jonas Maebe wrote:
T
I have noticed the following code in Tstrings, in the quicksort;
" Pivot := L + Random(R - L); // they say random is best "
On 07/12/11 13:10, Graeme Geldenhuys wrote:
On 7 December 2011 14:54, Jonas Maebe wrote:
That's correct. We use the mersenne twister, Delphi probably a linear
cong
On 20/02/12 11:49, Juha Manninen wrote:
2012/2/20, Ludo Brands:
Grab it from the debian sid repository.
How?
Juha
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Sta
On 05/04/15 20:57, Anthony Walter wrote:
> A user on my forums sent me this message. I've experienced the problem
> as wee for quite some time. I was wondering if anyone has a universal
> fix for it yet since it seems to happen so frequently to many people?
>
> From Artie:
>
> I just installed Laza
On 15/04/15 05:39, Anthony Walter wrote:
> Peter: I always install the build-essentials package whenever I setup
> a debian system, yet I occasionally get both -crti.o not found and
> -crtn.o not found
>
> Bart: That first google result you linked relates to mavericks a
On 17/04/15 16:45, Peter wrote:
> On 15/04/15 05:39, Anthony Walter wrote:
>> Peter: I always install the build-essentials package whenever I setup
>> a debian system, yet I occasionally get both -crti.o not found and
>> -crtn.o not found
>>
>> Bart: That first go
t;
> Michael.
>
>
> ___
> fpc-pascal maillist - fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Hi,
It should work if Truncate64 is used instead of Truncate.
I suggest its a bug, albeit probably a wishlist one.
http://man7.org/linux/man-pages/man2/ftruncate.2.html
Regards,
Peter
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On 20/05/15 16:36, Marco van de Voort wrote:
> In our previous episode, Peter said:
>
>> It should work if Truncate64 is used instead of Truncate.
>> I suggest its a bug, albeit probably a wishlist one.
>>
>> http://man7.org/linux/man-pages/man2/ftruncate.2.html
>
ler is silent,
Is this a bug? Surely, the above A:=0; is valid Pascal isn’t it?
Regards,
Peter
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On 18/06/15 16:53, Jonas Maebe wrote:
> On 18/06/15 17:37, Peter wrote:
>
>> The problem occurs with BOTH switches -Cr & -CO
>> Any one of these, and the compiler is silent,
> -CO is a switch that is barely used and that is tested even less,
> unfortunately (no exte
On 19/06/15 08:46, Torsten Bonde Christiansen wrote:
> program Project1;
>
> type
> TMyEnum = (
> a = 1,
> b = 3,
> c = 5
> );
> TMySet = set of TMyEnum;
> var
> Item: TMyEnum;
>
> begin
> for Item in TMySet do
> Writeln('Value = ', Integer(Item));
> end.
My guess is that
Bart,
Agree it would be nice to have a wider range for Floor & Ceil.
I would suggest raising a bug report for this.
Its not been fixed in trunk (as of this post).
Regards,
Peter
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://
has a following, but last time I looked, there wasn’t much
documentation to help get started with it.
Peter
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On 04/08/15 20:28, Juha Manninen wrote:
> when QT4 is removed, Lazarus LCL will already support
> QT5 bindings. Alpha version of the bindings already exist.
Well, thats good news then. I couldn't find any mention of QT5 in the wiki.
Peter.
On 04/08/15 16:20, Graeme Geldenhuys wrote:
> On 2015-08-04 16:11, Peter wrote:
>> I have not used Lazarus for a while, but I think you can use it as an
>> IDE, while using fpGUI as a component set. Perhaps someone can confirm?
>
> I believe I answered that in an earli
include style directives, unless the headers are copied
to the current folder and the <> removed.
Peter
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On 07/08/15 12:58, Peter wrote:
> However, I can't get it to pass
Should have been "get it to parse" of course.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On 17/08/15 09:05, Michael Schnell wrote:
> Unfortunately "Randomize" (in Linux in "System") just does
> randseed:=longint(Fptime(nil));
>
> if it would use /dev/urandom,
>
Perhaps that is worthy of a bug report?
___
fpc-pascal maillist - fpc-pa
I was going to comment that the 'bitmask example doesn't work, which it
didn’t, but looks like its been recently fixed by adding the needed
QWord cast on the '1's.
http://wiki.freepascal.org/Bit_manipulation
Qwords are certainly trickier to use the Dwords.
_
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
On 07/08/15 13:41, Roderick Johnstone wrote:
> Hi
>
> I'm trying to build the fpc svn development version on Red Hat
>
> FATAL: cannot open file /usr/lib/fpc/lexyacc/yyparse.cod
>
>
> so it seems to be looking in the wrong place for yyparse.cod, or
> yyparse.cod is not installed correct
, or some other combination of
'libc' and 'dev'.
Please post the solution if/when you find it for the benefit of others.
This same question seems to keep poping up on this list.
Regards,
Peter
___
fpc-pascal maillist - f
On 14/09/15 21:09, Mark Morgan Lloyd wrote:
> Peter wrote:
>> On 04/09/15 02:15, Xiangrong Fang wrote:
>>> .
>>> Is there anything missing from my FPC installation?
>>> TIA for any hint.
>>
>> To build FPC programs on linux one generally needs a
It would be useful to see the output of these two commands
grep Fl /etc/fpc.cfg
ls /usr/lib/**/crti.o
Jonas knows a lot more about FPC than I do!
Regards,
PB
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-b
On 15/09/15 11:25, Graeme Geldenhuys wrote:
> .
> the default -Mfpc (what I consider outdated
> language mode).
>
>
> Regards,
> - Graeme -
>
Finding maxint at 32767 (64bit compiler) with that mode can be a bit of
a shock too!
Regards,
PB
___
On 15/09/15 18:34, Fred van Stappen wrote:
>
> What sound procedure is unable to work ?
>
> Thanks.
>
> Fre;D
>
I guess he means Procedure Sound in rtl/unix/crt.pp
This does not work for me either, just get the "sound of silence".
Procedure Sound(Hz: Word);
begin
{$ifdef havekiocsound}
if
On 15/09/15 22:14, Graeme Geldenhuys wrote:
> On 2015-09-15 20:59, Peter wrote:
>> I guess he means Procedure Sound in rtl/unix/crt.pp
>> This does not work for me either, just get the "sound of silence".
>
>
> That is a know problem for many years. Here is a
On 16/09/15 02:28, Xiangrong Fang wrote:
> Hi Peter,
>
> xrfang@pi ~ $ ls /usr/lib/**/crti.o
> /usr/lib/arm-linux-gnueabihf/crti.o
>
> Thanks!
Then you could try compiling your program with the switch
-Fl /usr/lib/arm-linux-gnueabihf
{Note its a lower case l not an upper c
Shows the same issue. Takes default value of zero; no range check on the
first writeln.
Regards,
Peter
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
In addition to ptop and JCL already mentioned, there is the closed
source DelForEx.zip intended for use with Delphi. There are standaline
versions of it that run under wine on 'nix.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists
__
> fpc-pascal maillist - fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>
But what about optimising the RTL to -O4?
I did a separate pass to build the RTL with -O4 which 2.64 does not
support. I found it makes a us
On 13/01/16 07:33, Marco van de Voort wrote:
> In our previous episode, Sven Barth said:
>> There is a variant of the OPT parameter that applies options only for the
>> last compilation. This way you can use options that the compiling compiler
>> does not yet support. Now if I'd only remember that.
On 30/01/16 09:45, Anthony Walter wrote:
> I've been working on writing Javascript to generate lexical language
> diagrams
Would this be of any interest? (Rather than reinvent the wheel.)
http://www.bottlecaps.de/rr/ui
Peter
___
fpc-pasc
On 05/03/16 17:27, Michael Van Canneyt wrote:
> Hi,
>
> I have committed a PDF generator to FPC Subversion: fcl-pdf.
>
Hi Michael,
What's the input format? html?
Peter
___
fpc-pascal maillist - fpc-pascal@lists.fr
es stack space! This might be
fixable by directing the process to use the alternate stack for signal
handling. The error message would hopefully then be more meaningful.
Regards,
Peter
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On 28/04/16 14:02, Graeme Geldenhuys wrote:
> Hi,
>
> I can't figure out why FPC is struggling with figuring out which
> overloaded methods to call. This is my application code which FPC has a
> problem with.
>
> type
> TPDFFloat = Single;
>
> TPDFCoord = record
> X,Y: TPDFFloat;
> end
Hi,
I notice an ftp folder for 3.0.2-rc1 has appeared, dated 10-Dec,
but I cannot access the folder
ftp://ftp.freepascal.org/pub/fpc/beta/3.0.2-rc1/
I get error "550 Failed to change directory."
Is this folder still under construction, or is something wrong in the
permissions?
Che
On 21/02/17 21:12, James Richters wrote:
> My understanding was the Close(file); would save the file all the way to
> disk and flush any buffers that were holding it,
I would try adding a Flush(File) before the Close, even though that
should not really be needed.
___
o use random to a int64, and
mask out the upper bits.
You could also write an XORShift generator if you are prepared to forgo
the presence of zero in the sequence.
Peter.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepa
On 03/05/17 00:53, Marc Santhoff wrote:
> Hi,
>
> for playing around I would need a grammar of Object Pascal. I do not
> care for which tool it is written or at best if it is plain EBNF.
>
> Does such grammar exist?
>
> TIA,
> Marc
>
>
> ___
> fpc-pa
I usually start performance investigations by compiling with '-al', and
looking at the generated assembler.
Regards,
Peter
P.S. From what we know so far, inclined to agree with Charlie.
___
fpc-pascal maillist - fpc-pascal@lists.freepasca
Hi,
Since fpc version 3.0 (2.6.4 was OK) the Debian docs package has no
content for strutils.
Does anyone have any thoughts on what the cause might be?
Regards,
Peter B
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=858797
___
fpc-pascal
Hi James,
Its unlikely that 999.999 has an EXACT representation in floating point.
999.999002 maybe the closest value at your chosen precision.
Extended type has more precision, but still probably won't be exact.
Regards,
Peter B
__
FPC has a header for the GMP library.
Regards,
Peter B
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
returned by the method Encrypt, it raise an exception 203 on line
> after {6}
> I don´t know how to debug this.
>
> --
> /Timeo hominem unius libri/
>
> []s
> Guionardo Furlan
> http://www.guionardofurlan.com.br
>
>
> ___
> fpc-pascal
I've been away from fpc for a while, but I'm thinking of using it
because the simulation project that I'm working on looks as if it is
well suited to it. I've looked at python, but the threading doesn't
work. I've looked at Ada, which would be an excellent solution, but I
don't really need it to be
Thank you both very much for those helpful suggestions!
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
s starts to run.
Any suggestions gratefully received!
Regards,
Peter
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
er and ppudump has become too much dependent
on other units of the compiler that i don't think it is recommended to
be used by other projects. The current dependencies are below:
Compiling ppudump.pp
Compiling /home/peter/fpc/compiler/constexp.pas
Compiling /home/peter/fpc/compiler/ppu.pas
Comp
Peter Vreman wrote:
Florian Klaempfl wrote:
Mattias Gaertner schrieb:
On Tue, 24 Jun 2008 23:14:34 +0200
Florian Klaempfl <[EMAIL PROTECTED]> wrote:
Mattias Gaertner schrieb:
I want to read ppu files like the ppudump tool.
ppudump uses the unit compiler/ppu.pp, but ppu.ppu is not
ins
>> Because there are easy ways around it (as you mention) and the work to
>> implement and maintain this would probably outweigh the usefulness.
>>
> Yes, it's easy but uncomfortable and needs more typing.
You can use hexstr() to convert the pointer to a hexadeciaml number:
var p: pointer;
begin
of the reasons why fpmake/fppkg will be introduced in the future.
Peter
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
> Is there any way so that Write(Ln) doesn't flush the buffer after each call
> (as if it's called to write to a file, I knew it from rtl's file handling
> source), but only when Flush is called? I found some maniac's code that does
> it at assembler level, but of course it's platform dependant (
jordi wrote:
I get this error when I try to compile the compiler:
sysos.inc(97,3) Fatal: Internal error 200502052
My OS: linux x86_64, any help will be welcome
There is an problem with code generation. Please submit a bug with the
steps how we can reproduce the issue.
Peter
libp*.a files instead. You need to link with
the libp*.a
instead of the *.o files.
It can't be written down what is required for your program to link manual. But
you can compile
with -s to generate a link.res and ppas.sh to see the commands that
se some Lazarus code has been around for a
couple of years. But
it is not an easy task after a couple of quick investigations. That is also the
reason why it has
not been started yet. You are welcome to implement such an interface and remove
the libgdb
dependency.
Peter
__
ion
> mode)
> but the rest was added manually.
>
> I realize that for the LCL, this will be a rather largish job :-)
Most packages ppudump output with a sed script was used to create the initial
list. The cleanup
and adjustments for multiple platforms was done manually.
Peter
__
.
What is the best/recommended way to solve this with fpmake?
You can't in this way.
So, no debug and release version on one computer?
Not in this way, at least.
Hi,
Peter Vreman reminded me that we had this discussion on core about a year
ago. The solution we came up with was a 'sub
dir/components/
To find additional packages there.
If root installs some packages for all users and I want to add some
extra packages. Can fppkg handle this?
Yes. It supports a Global and a Local directory. The local directory has
a higher preference.
Peter
ation)
I had to define the calling convention behind every assembly routine
(eg: function getPITValue( var val: int64): bool32; assembler; oldfpccall;)
Now I hope this will help with graphix too.
regards Peter
Jonas Maebe schrieb:
On 25 Nov 2009, at 11:46, Schatzl Thomas wrote:
Hi,
is th
Hello
Is there anybody who has compilled the libnodave testprogram
"TestISO_TCP.PAS" under linux.
If yes could you tell what version of fpc and what options etc. you have
used to it.
I have try with version 2.4.2 but got somthing like this:
[peter@Dell hmi]$ fpc testISO_TCP.pas
F
Den 04-02-2011 20:44, Jeppe Johansen skrev:
Try to do a fpc -k-lc testISO_TCP.pas
That should instruct the linker to link libc too
Thanks
That was the way to do it.
--
/ Peter Andersen
/ Skanderborg
/ Danmark
___
fpc-pascal maillist - fpc-pascal
pascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Please could you explain it a little bit more.
I am new to this.
I have programmet in Dos and on windows for years. But with linux using
shared lib i am total new.
--
/ Peter Andersen
/ Skande
Den 04-02-2011 21:27, Jonas Maebe skrev:
On 04 Feb 2011, at 21:24, Peter Andersen wrote:
That's a very bad way to link libc, because afaik it bypasses all compiler detections for
the fact that you are linking to that library (and doing so requires using different
startup
little to much for now.
By the way is there a english version of it.
--
/ Peter Andersen
/ Skanderborg
/ Danmark
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
class(TComponent)
private
class FClassVar: integer;
FFieldVar: integer;
end;
FClassVar:integer;static;
And compile with -St
Peter
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
> Congratulations,
>
> with fpc 2.0.2 it's the first time, we were able to compile and run our
> dbGonzales database server (complete delphi code). In earlier versions
> of fpc, we always had some problems (mostly with variants), which caused
> runtime crashes.
> First tests show that the execution
>
>>(astonishing that ShortStrings are slower than AnsiStrings in this
>> example
> in delphi).
>
> Not really. Delphi is silently upcasting your shortstrings to AnsiStrings
> in
> the background. You would probably have to recompile the VCL to get around
> this ;-)
I've commited a few small fixe
> Florian Klaempfl wrote:
>> Hi,
>>
>> FPC 2.0.2 is finally available for various platforms. 2.0.2 is mainly a
>> bug fix release to 2.0.0 though also some little features were added.
>>
>> Get FPC 2.0.2 from http://www.freepascal.org/download.html or read the
>> whatsnew.txt here: ftp://ftp.freepa
> Peter Vreman wrote:
>
>>>>(astonishing that ShortStrings are slower than AnsiStrings in this
>>>>example
>>>
>>>in delphi).
>>>
>>>Not really. Delphi is silently upcasting your shortstrings to
>>> AnsiStrings
&
> Darwin 2.1.1 today
> astrings.inc(88,1) Fatal: Syntax error, "BEGIN" expected but "shl" found
> astrings.inc(88,1) Fatal: Compilation aborted
That is a svn conflict
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.or
> i tried to compile the bigint13 Unit from Franco Milani but got the
> following error:
>
> bigint13.pas(48,2) Error: Illegal assembler style specified "INTEL"
> bigint13.pas(426,1) Fatal: There were 1 errors compiling module, stopping
> bigint13.pas(426,1) Error: Compilation aborted
>
> The assem
> Hi,
>
> I have changed the FastMM4 that it seemd to work with fpc now. Here are
> the results of my prior tests now with FastMM4 for fpc:
>
> Test1:
> fpc (standard MM): 3.1 sec - factor = 1.34
> fpc (FastMM4): 3.0 sec - factor = 1.30
> delphi (standard MM): 3.1 sec - factor = 1.34
> de
> Hi,
>
> I have changed the FastMM4 that it seemd to work with fpc now. Here are
> the results of my prior tests now with FastMM4 for fpc:
>
> Test1:
> fpc (standard MM): 3.1 sec - factor = 1.34
> fpc (FastMM4): 3.0 sec - factor = 1.30
> delphi (standard MM): 3.1 sec - factor = 1.34
> de
> I tried to modify the FastMM4 to work with with fpc.
> I had no big problems for the non-assembly language version, but with
> the assembly language version i have the problem, that fpc is allways
> generating a stack frame, even if i use the {$STACKFRAMES OFF} directive.
>
> Is it not possible a
>> I compiled fpc from the sources from the svn repository today, but the
>> results are almost the same as I posted yesterday (I marked with **
>> where the results have changed):
>>
>> Test1:
>> ** fpc (standard MM): 3.0 sec - factor = 1.30
>> fpc (FastMM4): 2.9 sec - factor = 1.30
>> delphi (s
>>Intel mode isn't supported yet on x86_64
> When do you expect it to be?
It is not planned. Unless a user supplies the required patches for the
compiler there will not be an intel like asmmode for amd64 anytime soon.
___
fpc-pascal maillist - fpc-p
ing[2].
please can anyone explain this to and possible find a solution
Regards
Peter Rosendahl
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Thank you for your quick answer, how do I get the new version? Is the 2.0.2
available at this point the FIXED version, or do I have to recompile from some
unstable source ?
/Peter
JM> On 9 jan 2006, at 17:03, Peter Rosendahl wrote:
>> With the EXACT same code compiled with
> FPC can´t assign value to address, where Delphi can. For example:
>
> TDomNode = class(TDomCustomNode);
> private
> ...
> FUserData : TUtilsWideStringList;
> FUserDataHandlers : TList;
> ...
>
> destructor TDomNode.Destroy;
> var
> I: Integer;
> UserDataEvent: TDomUs
>> It's not the keyword that is the problem. The whole logic for this would
>> have to be implemented. Think switches, commands to the linker, a way
>> to
>> configure the name for the segment etc. Part of this is specific for
>> your
>> device setup.
>>
>> If writable const is off, also variables
> I have built a Windows cross compiler for ARM It is working fine
> without smartlinking. When I activate smartlinking I get this error:
>
> Free Pascal Compiler version 2.0.2 [2005/12/16] for arm
>
> Assembling arm2138reg
> Assembling with smartlinking arm2138reg
> /cygdrive/l/ARMBIN/AR: arm2138r
> Martin Schreiber schreef:
>> On Sunday 05 February 2006 17.11, Koenraad Lelong wrote:
>>
>>>Just tried it, doesn't work :-(. Compiling with ppc386 for i386-linux
>>>works fine, compiling with ppcrossarm for arm-linux gives the error.
>>>Could this be a processor specific error ?
>>
>>
>> compiler
> #2 0x0809a6db in TCGARM__A_OP_CONST_REG_REG_CHECKOVERFLOW
> (LIST=0x411f3f34, OP=OP_SUB, SIZE=OS_32, A=373, SRC=16777216,
> DST=16777216, SETFLAGS=false, OVLOC=
> {LOC = LOC_VOID, SIZE = 166, RESFLAGS = 186, VALUE = 134759354,
> VALUE64 = 4713231088527885242, REFERENCE = {OFFSET = 13475
> Hi,
>
> we are developing a console application under Delphi. The main task is
> to use it under Windows. But there are some situations where we need
> to run it under the realtime OS QNX. This is the reason why we use FPC
> 1.0.x. But it lacks some interesting features like dynamic arrays.
>
> I
> More specific, the error-lines point to the @object construct.
> Is there any way I can avoid these errors ?
> I used revision 2898 of fpc. My arm-linux-as is version 2.14.
Use the latest binutils 2.16.1
___
fpc-pascal maillist - fpc-pascal@lists.
> system_arm_linux)
then ... else ..."
Jonas
Thanks,
Enclosed you will find a diff that allows me to get past that error, but I
have another one. Actually two, this morning I had an 'internal error',
but I (stupidly) did another s
1 - 100 of 554 matches
Mail list logo