[fpc-pascal] ASM jump parse error
Hi I've badly submit 4612 bug Should be: Title:ASM jump parse error in Description: in assembler fastcodemoveunit.pas(214,34) Error: Unknown identifier "@FWDJUMPTABLE" fastcodemoveunit.pas(256,21) Error: Local symbols/labels aren't allowed as references F in Linux FPC can't compile line: jmpdword ptr [EMAIL PROTECTED] under WIN it pass sorry. Darek ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] fpc 2.0.0 x86_64 and assembler
Marcus Roeckrath wrote: Intel mode isn't supported yet on x86_64. > > > > Hi, > > 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 assembler mode is defined as: > > {$asmmode intel} > > If have installed yasm on my AMD64 System. > > > > > > ___ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] astring.pas
> 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.org/mailman/listinfo/fpc-pascal
[fpc-pascal] command line editing, history, etc.
I have a command line utility that would really benefit from command line editing... is there a simple way to add this kind of readline-like behavior to a FreePascal program? I would appreciate the functionality on Linux but I might also use the program on Windows. -Alan ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] fpc 2.0.0 x86_64 and assembler
> 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 assembler mode is defined as: > > {$asmmode intel} > > If have installed yasm on my AMD64 System. Only AT&T (gas) assembler is supported ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] First Test of FastMM4 for fpc
Micha Nelissen schrieb: On Thu, 15 Dec 2005 18:21:18 +0100 Adrian Veith <[EMAIL PROTECTED]> wrote: 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: How did you fix FastReallocMem? FPC uses a 'var APointer', but delphi doesn't, apparantly. Are you using the assembly optimized routines here ? I wrote a small wrapper for ReallocMem. {$ifdef fpc} function FastReallocMemFP(var APointer: Pointer; ANewSize: Integer): Pointer; begin if APointer = nil then Result:= FastAllocMem(ANewSize) else Result:= FastReallocMem(APointer, ANewSize); APointer:= Result; end; {$endif} In my tests I use the asm routines, but the pascal routines work as well. Only the Debug-routines don't work (or need some overwork), because they access the vmt, which is different in delphi and fpc. Adrian Veith. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] 2.0.0 versus 2.0.2 - FreeBSD
Some weeks ago I switched from 1.0.x to 2.0.0. Well, a lot of work to eleminate "oldlinux", but it works fine. I updated to 2.0.2 and something happend: I have some cgi-programs for a virtual FreeBSD 4.7 Server. I compile under Linux (SuSE 8.2), tranfer the executable to FreeBSD and do a "brandelf -t Linux prog-name" This works fine for 1.0.x, 2.0.0, but not for 2.0.2 The programs run very well on FreeBSD, do all things expected, but crash (with 2.0.2) at the end and produce a core-dump, "prog-name.core" It's very hard to debug a program on a virtual Server thousand miles away. I suppose, that the last exit-routines have some incompatibilies with FreeBSD, or maybe it is a bug. Maybe this is a hint for the development team. The download of older versions of fpc seems not possible. :-( So I burn everything on a CD-ROM. ;-) BTW: A great work, this compiler. The best programming- tool, you can get hands on. Heinz Ziegenhorn * Ziegenhorn Tourism Database P.O. Box 16 45 76726 Germersheim, Germany Tel: +49-7274-2759 Fax: +49-7274-3631 http://www.ziegenhorn.com * ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] Test, please ignore
___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] AnsiStrings and Memory Management
I think the fpc code is quite usable now: FPC 2.1.1 Test 1: 100 ... done in 2.265 sec Test 2: 100 ... done in 1.563 sec Test 3: 100 ... done in 1.687 sec D7: Test 1: 100 ... done in 2.078 sec Test 2: 100 ... done in 2.078 sec Test 3: 100 ... done in 2.312 sec Can someone test with FPC 2.1.1 and D2006? If necessary, I can speed up Test 1 and Test 2 with little effort :) ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] Version 0.6 of MSEgui+MSEide available
Version 0.6 of MSEgui+MSEide is ready: http://mypage.bluewin.ch/msegui/ The IDE is now GPL'd, the library has modified LGPL like FPC-RTL. Martin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] 2.0.0 versus 2.0.2 - FreeBSD
Ziegenhorn Tourism Database wrote: The download of older versions of fpc seems not possible. :-( So I burn everything on a CD-ROM. ;-) You can download 1.0.10 from ftp://ftp.de.freepascal.org/pub/fpc/olddist/1.0.10/ and 2.0.0 from ftp://ftp.de.freepascal.org/pub/fpc/dist/i386-freebsd-2.0.0/ What older versions are you looking for? Vincent ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Test, please ignore
___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] First Test of FastMM4 for fpc
Florian Klaempfl schrieb: Adrian Veith wrote: 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 delphi (FastMM4): 2.3 sec - factor = 1 Test2: fpc (standard MM): 2.8 sec - factor = 1.47 fpc (FastMM4): 2.2 sec - factor = 1.15 delphi (standard MM): 2.9 sec - factor = 1.52 delphi (FastMM4): 1.9 sec - factor = 1 Test3: fpc (standard MM): 2.5 sec - factor = 1,19 fpc (FastMM4): 2.1 sec - factor = 1 delphi (standard MM): 3.4 sec - factor = 1.61 delphi (FastMM4): 2.1 sec - factor = 1 As you can see the benefits are not as big as compared to the standard Delphi MM, but it is still slightly better than the standard MM in fpc (and it reports memory leeks). I have not yet tested all of its features but it seems to work so far. I've commited another bunch of small optimizations, maybe you can retest. FastMM is implemented in assembler and hand optimized so it's clear that it's rather fast. 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 (standard MM): 3.1 sec - factor = 1.34 delphi (FastMM4): 2.3 sec - factor = 1 Test2: fpc (standard MM): 2.8 sec - factor = 1.47 ** fpc (FastMM4): 2.1 sec - factor = 1.10 delphi (standard MM): 2.9 sec - factor = 1.52 delphi (FastMM4): 1.9 sec - factor = 1 Test3: fpc (standard MM): 2.5 sec - factor = 1,19 fpc (FastMM4): 2.1 sec - factor = 1 delphi (standard MM): 3.4 sec - factor = 1.61 delphi (FastMM4): 2.1 sec - factor = 1 ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Question: OpenOffice and FPC?
On 12/16/05, Vincent Snijders <[EMAIL PROTECTED]> wrote: > C++ headers are near useless, when you want to use fpc. What about java. Is is easier to translate? I still don´t get it why you guys think it is so hard to translate c++ headers. not that I´ve ever done it, but c++ code doen´t seam so different then c code to me. Python and Perl probably much worse, since their structure is so different. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] First Test of FastMM4 for fpc
Adrian Veith wrote: Florian Klaempfl schrieb: Adrian Veith wrote: 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 delphi (FastMM4): 2.3 sec - factor = 1 Test2: fpc (standard MM): 2.8 sec - factor = 1.47 fpc (FastMM4): 2.2 sec - factor = 1.15 delphi (standard MM): 2.9 sec - factor = 1.52 delphi (FastMM4): 1.9 sec - factor = 1 Test3: fpc (standard MM): 2.5 sec - factor = 1,19 fpc (FastMM4): 2.1 sec - factor = 1 delphi (standard MM): 3.4 sec - factor = 1.61 delphi (FastMM4): 2.1 sec - factor = 1 As you can see the benefits are not as big as compared to the standard Delphi MM, but it is still slightly better than the standard MM in fpc (and it reports memory leeks). I have not yet tested all of its features but it seems to work so far. I've commited another bunch of small optimizations, maybe you can retest. FastMM is implemented in assembler and hand optimized so it's clear that it's rather fast. 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 (standard MM): 3.1 sec - factor = 1.34 delphi (FastMM4): 2.3 sec - factor = 1 Test2: fpc (standard MM): 2.8 sec - factor = 1.47 ** fpc (FastMM4): 2.1 sec - factor = 1.10 delphi (standard MM): 2.9 sec - factor = 1.52 delphi (FastMM4): 1.9 sec - factor = 1 Test3: fpc (standard MM): 2.5 sec - factor = 1,19 fpc (FastMM4): 2.1 sec - factor = 1 delphi (standard MM): 3.4 sec - factor = 1.61 delphi (FastMM4): 2.1 sec - factor = 1 Strange, for me most tests improved by at least 10 %. Did you use a recompiled rtl compiled with -O3p3r? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal