Re: [fpc-pascal] Why is Random(255) some 529x slower compared to Delphi 7?

2011-12-07 Thread Florian Klaempfl
Am 07.12.2011 16:03, schrieb Graeme Geldenhuys: > On 7 December 2011 14:54, Jonas Maebe wrote: >> >> That's correct. We use the mersenne twister, Delphi probably a linear >> congruential generator. The mersenne twister has a much larger period. > > I was reading a bit more about this. The Mersen

Re: [fpc-pascal] Why is Random(255) some 529x slower compared to Delphi 7?

2011-12-07 Thread Florian Klaempfl
Am 08.12.2011 08:25, schrieb Felipe Monteiro de Carvalho: > On Thu, Dec 8, 2011 at 7:27 AM, Jürgen Hestermann > wrote: >> Fully agree. Especially, because ex Delphi (and ex Turbo Pascal) users would >> expect it like that. And most of them (coming from Delphi/TP) believe that >> the randomness is

Re: [fpc-pascal] Why is Random(255) some 529x slower compared to Delphi 7?

2011-12-07 Thread Florian Klaempfl
Am 08.12.2011 08:48, schrieb Graeme Geldenhuys: > > [like what was told to me numerous times before] They (FPC users) > should speak up now, Actually those who depend on speed should have spoken up ten years ago when the MT was implemented. ___ fpc-pa

Re: [fpc-pascal] Why is Random(255) some 529x slower compared to Delphi 7?

2011-12-08 Thread Florian Klaempfl
Am 08.12.2011 09:03, schrieb Graeme Geldenhuys: > On 8 December 2011 09:50, Florian Klaempfl wrote: >> >> Actually those who depend on speed should have spoken up ten years ago >> when the MT was implemented. > > I for one did not even know about the existence of F

Re: [fpc-pascal] Re: Why is Random(255) some 529x slower compared to Delphi7?

2011-12-08 Thread Florian Klaempfl
Am 08.12.2011 17:24, schrieb Jürgen Hestermann: > > In other situations the Delphi compatibilty is pulled up even if the > implementation is outrageous. But suddenly everybody wants to depart > from Delphi. Strange. And? The conclusion is what we concluded years ago: be as delphi compatible as po

Re: [fpc-pascal] Why is Random(255) some 529x slower compared to Delphi 7?

2011-12-08 Thread Florian Klaempfl
Am 09.12.2011 07:27, schrieb Jürgen Hestermann: > > > Reimar Grabowski schrieb: >> The parameter should default to FALSE to not break existing code >> relying on FPCs random function > And what about existing code coming from Delphi/Turbo Pascal? This was a > strong argument in the past for doin

Re: [fpc-pascal] Why is Random(255) some 529x slower compared to Delphi 7?

2011-12-09 Thread Florian Klaempfl
Am 09.12.2011 08:59, schrieb Graeme Geldenhuys: > On 9 December 2011 09:47, Florian Klaempfl wrote: >> >> According to measurements of me and other peoples, random is only 7-10 >> times slower (depending on the CPU). > > What do you feed your computer, Nothing, but

Re: [fpc-pascal] Why is Random(255) some 529x slower compared to Delphi 7?

2011-12-09 Thread Florian Klaempfl
Am 09.12.2011 09:02, schrieb Vincent Snijders: > 2011/12/7 Graeme Geldenhuys : >> Hi, >> >> I did a simple GetTickCount() timing around this loop. Delphi executes >> the loop in 20 ticks. FPC 2.6.0-rc2 takes 10585 ticks The outer >> loop runs 200400 iterations. The types for BitValue, ByteValue

Re: [fpc-pascal]graph unit and the mouse

2003-02-09 Thread Florian Klaempfl
Mark Emerson wrote: Does anybody know a way to read the mouse at pixel resolution while using the graph unit? You mean for go32v2? It depends on your mouse driver I think. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/ma

Re: [fpc-pascal]How to set focus to graph window?

2003-03-13 Thread Florian Klaempfl
Bernhard Steffen wrote: I'm using the graph unit to provide graphing capabilities for my program (Win 32 platform). The graph window opens as a separate window, which is ok for me - except one point: The graph window gets opened with the least important position in Z-order (ie: all other windows ar

Re: [fpc-pascal]Do you know fpmath

2003-03-14 Thread Florian Klaempfl
Ramom Flores d'as Seixas wrote: Hi: I have just found a very promissing mathematical library: TPmath written by Jean Debord. http://www.unilim.fr/pages_perso/jean.debord/tpmath/tpmath.htm The author mantains several versions of his library, and one of this versions is just for freepascal: fpm

Re: [fpc-pascal]Do you know fpmath

2003-03-14 Thread Florian Klaempfl
Marco van de Voort wrote: Surprisingly I could not find any reference to this library in the freepascal site, and I am wondering why. What is the problem: a) ignorance? b) perhaps the library is full of bugs? c) is it a political issue? d) others ...? We didn't know about it :) Of course we kno

Re: [fpc-pascal]OT: An FPC program in LinuxFormat Magazine

2003-03-24 Thread Florian Klaempfl
A.J. Venter wrote: Just in case anybody needs some ammo against people who think pascal is dead. This months Linux format includes AJ's Internet Cafe For LTSP (now DireqCafe) which was written in FPC. Just goes to show, aint no proble it can't solve. And before anybody acuses me of just downright s

Re: [fpc-pascal]OpenGL/GLUT run time error when I whant compile thiscode

2003-04-05 Thread Florian Klaempfl
Sebastian Günther wrote: Am Sam, 2003-04-05 um 04.02 schrieb Karim Forsthofer: Now, when I whant to run to code, I get some Run time errors on the console: Runtime error 216 at 0x4052F5CA 0x4051F5CA Runtime error 216 at 0x0804C1CA 0x0849C1CA 0x0805127E Compile with -gl as additional arg

Re: [fpc-pascal]Need a help.

2003-05-28 Thread Florian Klaempfl
christian jusak wrote: I would like to know the formulae used by the random number generator of Free Pascal, especially for using this algorithm in cryptanalysis. rtl/inc/system.inc, function random. ___ fpc-pascal maillist - [EMAIL PROTECTED] http:/

Re: [fpc-pascal]Linux Palms and FPC?

2003-06-27 Thread Florian Klaempfl
Rainer Hantsch wrote: Hello! I would like to get some information about Palmtops (preferrably running Linux) and how to program with FPC on them. I possibly will get an order (currently not sure) to develop a new software (everything linux based) for a small company. The external members/workers s

Re: [fpc-pascal]Synapse for FPC

2003-07-24 Thread Florian Klaempfl
Lukas Gebauer wrote: For little example: On Delphi workd exists structure TSystemTime. Thjis is defined in Windows.pas, and all related time functions on delphi using this structure. For example, lot of functions inside sysutils.pas. it allows get system time by Win32 API call and then you can hand

Re: [fpc-pascal]The state of FPC (was: Synapse for FPC)

2003-07-24 Thread Florian Klaempfl
Matt Emson wrote: Free CLX contains a large chunk of the RTL, and is already supporting Linux and Windows. ... and it's full of terrible ifdef linux/win32 ... Can you imagine the mess if you handle 10 or more targets this way :) ? Almost ten years ago I started OS/2 and linux support this way an

Re: [fpc-pascal]The state of FPC - wrap up

2003-07-25 Thread Florian Klaempfl
Michael Van Canneyt wrote: Hello, I think the point about users finding include files cumbersome to use, and developers who require maintainability, has been made clear. We can discuss about this for ages, and never agree. So I would like to conclude the discussion with a proposal. My proposal is

Re: [fpc-pascal]runtime 201 with swapword function

2003-07-25 Thread Florian Klaempfl
James Mills wrote: On Fri, Jul 25, 2003 at 04:21:36PM +0200, Jonas Maebe wrote: On vrijdag, jul 25, 2003, at 16:22 Europe/Brussels, James Mills wrote: Why does the following result in a runtime error ? program example; const THE_PORT = ; function swapWord(w: Word): Word; begin

Re: [fpc-pascal].NET

2003-09-09 Thread Florian Klaempfl
Lukas Gebauer wrote: Since there is no real non win32 .NET OS in the picture, there is no real hurry anyway. What would be the advantages of FPC compiling for .NET in your opinion? .NET is not only for Win32! (AFAIK .NET for Linuxes is in development too.) For example, I have the PDA. On this

Re: [fpc-pascal].NET

2003-09-09 Thread Florian Klaempfl
Lukas Gebauer wrote: ARM and x86-64 are under construction. iA64 will follow as soon as it's important. ARM support is only one half of work. What about WinCE support? Luckily enough my PDA runs linux ;) ___ fpc-pascal maillist - [EMAIL PROTECTED]

Re: [fpc-pascal]Re: FPC platforms (Was: Re: .NET)

2003-09-09 Thread Florian Klaempfl
Balogh, Karoly (Charlie/iNQ) wrote: It seems to me, currently a lot of things morphing inside the compiler, around the code generator, register allocator, and things like that. When will these things stabilize? So is it worth make a try to begin a new code generator right now :), or it's more wise

Re: [fpc-pascal]Problems with ipengl unit

2003-09-29 Thread Florian Klaempfl
Jonas Maebe wrote: On maandag, sep 29, 2003, at 15:47 Europe/Brussels, Marco van de Voort wrote: It's strange it crashes though. Normally, you should get an error while linking the program (or during startup of the program) Some packages dlopen files to avoid version linking problems. Ok, but

Re: [fpc-pascal]MySQL 4.0 Files

2003-10-07 Thread Florian Klaempfl
Michael Van Canneyt wrote: On Mon, 6 Oct 2003, Johann Glaser wrote: Hi! They are available in source form only, not in binary form. Ah, I see. That is why they are not in my .debs. Why aren't they distributed in compiled form too? Because they have the same name as the 3.23 files. You can on

Re: [fpc-pascal]IDE text resolution on Win32?

2003-10-12 Thread Florian Klaempfl
Laurent Cocea wrote: Hi all- How can I chnage the IDE window area size (text resolution) on Win32? In Options|Environment|Preferences the only video mode available is 80x25 and I would like to set it to 80x43 or 80x50. I am using IDE 0.9.2 and FPC 1.0.6. Change the settings of the dos box appropri

Re: [fpc-pascal]absolute

2003-11-05 Thread Florian Klaempfl
2cz wrote: in school we use a BPTP 7, but at home i use FPC. And now i have a problem with videoram. here is a problem source part: program iksko; uses crt, dos; const t=3; type hodi_se=record xx,xy:integer; end; taky_se_hodi=array[1..t] of hodi_se; var had:taky_se_hodi; sy,sx,u:integer; M: arra

Re: [fpc-pascal]paths in cross-compiling

2003-11-07 Thread Florian Klaempfl
Marco van de Voort wrote: Is there a way to strictly define the paths where FPC looks for objects and libraries? AFAIK -Fl can only add a new value, not override the old one. I'm trying to compile with solaris target on a linux machine, so I need to tell FPC to use solaris libc.a, crti.o, and crtn.

[fpc-pascal]1.9.0 aka 2.0.0 Beta-1 is out

2003-11-08 Thread Florian Klaempfl
As you may have noticed on the FPC website, Free Pascal 1.9.0, which is the first beta of the upcoming FPC 2.0.x series, is available. The goal of the 2.0.x series of FPC is to support several CPU platforms as well as being compatible with the most recent Delphi versions. To achieve this, large

Re: [fpc-pascal]OT: Error Accessing List Archive

2003-11-14 Thread Florian Klaempfl
[EMAIL PROTECTED] wrote: On vrijdag, nov 14, 2003, at 09:59 Europe/Brussels, Shawn Tan wrote: How do I access the list archive?? I tried accessing, http://lists.freepascal.org/mailman/listinfo/fpc-pascal and clicking on the list archives, but it resulted in an error.. I would like to search the a

Re: [fpc-pascal]mysql unit under win32

2003-11-24 Thread Florian Klaempfl
baron kractor wrote: Was just curious is anyone had come across any worthy documentation / examples of using the mysql unit in a win32 environment? Hmm, it's use is straight forward, no? Where are the problems? ___ fpc-pascal maillist - [EMAIL PROTE

Re: [fpc-pascal]mysql unit under win32

2003-11-26 Thread Florian Klaempfl
baron kractor wrote: Well, I'm extremely new to this sort of thing, and there's no comments in the example code. Some of the stuff I'm able to puzzle through but some of it isn't making much sense at all. Feel free to ask it :) ___ fpc-pascal maillist -

Re: [fpc-pascal]opening files from a text list

2003-11-29 Thread Florian Klaempfl
DONALD PEDDER wrote: here is just another approach. I'll have a look at that as well. Why doesn't the compiler have the ability to read a word? All of this extra code needed because I have to read words one character at a time! It would be the single most useful addition. I don't understand wh

Re: [fpc-pascal]opening files from a text list

2003-11-29 Thread Florian Klaempfl
Marco van de Voort wrote: here is just another approach. I'll have a look at that as well. Why doesn't the compiler have the ability to read a word? All of this extra code needed because I have to read words one character at a time! It would be the single most useful addition. I don't understa

Re: [fpc-pascal]Random generator

2003-12-07 Thread Florian Klaempfl
Alan Mead wrote: My version of Linux includes a /dev/random. Is there any way to use this to get better random sequences. When I cat this device, it looks like it runs out of data pretty quickly, but I bet it would make a series of fairly random seeds... /dev/random is very random, it's gets it's

[fpc-pascal]Wiki

2003-12-13 Thread Florian Klaempfl
After several discussions, we decided to install a wiki dedicated to FPC. Depending on the usage, we'll decide if it will get a part of FPC's web site. The link is http://www.freepascal.org/wiki/wiki.phtml The purpose of this wiki is: - being a knowledge base for developing with FPC - documenting s

Re: [fpc-pascal]When is the release date for 2.0 ?

2003-12-17 Thread Florian Klaempfl
Karim Forsthofer wrote: Hello When will be fpc 2.0 (linux version) for download. There is no schedule yet, it depends on how many bugs will popup :) ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pasc

Re: [fpc-pascal]inherited keyword

2003-12-21 Thread Florian Klaempfl
Mattias Gaertner wrote: Can someone explain the semantic difference between *1 and *2 please? procedure A(p: Type1); begin inherited; // *1 inherited A(p); // *2 end; ? 1: supporting a delphi bug 2: as you expect Well, the comment to 1 isn't completly true: In method handlers (declared with

[fpc-pascal]1.9.1 linux-powerpc snapshot upload

2003-12-28 Thread Florian Klaempfl
The first linux-powerpc snapshot has been uploaded to ftp://ftp.freepascal.org/pub/fpc/snapshot/v11/linux-powerpc Any feedback is welcome. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal]1.9.2 aka 2.0.0 Beta-2 is out

2004-01-13 Thread Florian Klaempfl
As you may have noticed on the FPC website, Free Pascal 1.9.2, which is the second beta of the upcoming FPC 2.0.x series, is available. Compared with 1.9.0 there are a lot of bug fixes as well as some new features like register calling for i386 or a powerpc compiler. For more information about th

Re: [fpc-pascal]Free Pascal - general commet / suggestions

2004-01-16 Thread Florian Klaempfl
Paschal Mushubi wrote: I have browsed the site http://www.freepascal.org but I get the impression that a lot is going on that is not well directed effort in my opinion. Do you really need to support all these platforms? Including DOS for God's sake. FPC developement is done by it's community an

Re: [fpc-pascal]problems linking to libborqt

2004-01-26 Thread Florian Klaempfl
borqt-6.9-qt2.3.so' name 'initPAnsiStrings'; begin writeln('Hello'); InitializePAnsiString(nil,nil,nil,nil); end. Output with fpc: -- Free Pascal Compiler version 1.9.2 [2004/01/06] for i386 Copyright (c) 1993-2002 by Florian Klaempfl Target OS: Linux for i

Re: [fpc-pascal]dbExpress with fpc

2004-02-16 Thread Florian Klaempfl
Michael Van Canneyt wrote: FPC supports both COM and CORBA interfaces - right ? I wouldn't have thought so. Delphi does it via compiler magic. I think fpk told me so on #fpc . An interface is a construct independent of COM or CORBA. It's just a set of methods. Delphi does allow you to use COM me

Re: [fpc-pascal]dbExpress with fpc

2004-02-16 Thread Florian Klaempfl
Marco van de Voort wrote: Michael Van Canneyt wrote: An interface is a construct independent of COM or CORBA. It's just a set of methods. Delphi does allow you to use COM methods transparantly via interfaces. In principle, the same should be true for FPC. It is true ;). Added a short note to the

Re: [fpc-pascal]fpc and familiar linux (ipaq)

2004-02-17 Thread Florian Klaempfl
[EMAIL PROTECTED] wrote: Hi, Read on the web site that fpc 1.9.3 builds itself and runs on the Zaurus. That's nice, I want to experiment wihth it on an iPAQ (which also uses an ARM CPU) and familiar Linux. Have anyone tried? Recently, I collected some hints about working with development compil

Re: [fpc-pascal]Error Making CVS version of compiler

2004-02-19 Thread Florian Klaempfl
Mattias Gaertner wrote: On Wed, 18 Feb 2004 09:06:51 +0100 (CET) [EMAIL PROTECTED] wrote: From: "Matt Henley" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject:[fpc-pascal]Error Making CVS version of compiler Date sent: Tue, 17 Feb 2004 20:06:49 -0600 . . /usr/local/bin/ppc38

Re: [fpc-pascal]Free Pascal IDE

2004-03-29 Thread Florian Klaempfl
Bill Doak wrote: How can I increase the width of the Free Pascal IDE? Free Pascal is running under Windows XP. Change the properties of the dos window. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]ARM packages of >= 1.9.3?

2004-03-31 Thread Florian Klaempfl
Alan Mead wrote: I just got a Zaurus and I'd love to use FPC on it. Or, failing that, I'd like to try cross-compiling on Linux for ARM. Are there any Zarus users out there who could lend me a hand getting started? Get fpc via cvs, change to the fpc dir and do a make clean all OS_TARGET=linux CPU

Re: [fpc-pascal]no refcounted interfaces

2004-04-09 Thread Florian Klaempfl
Dean Zobec wrote: I've talked with some friends of mine about the use of Interface base classes without reference counting in Delphi like this type TNoRefCount = class(TObject, IUnknown) protected function QueryInterface(const IID:TGUID; out Obj):HResult; stdcall; function _AddRef: I

Re: [fpc-pascal]Technojock...

2004-04-15 Thread Florian Klaempfl
Gene Buckle wrote: Before I spend any time on the port - has anyone ported the Turbo Technojock Toolkit v5.10 to FPC? I saw some mention of it on a four year old UseNet posting, but nothing after that. IIRC, Jonas Maebe (jonas at freepascal dot org) made fpc patches. Maybe you can contact him.

[fpc-pascal]Looking for more mirrors

2004-05-02 Thread Florian Klaempfl
The interest in FPC has steadily increased during the last months and thus our mirrors get overloaded. So we're looking for more ftp mirrors. If you can provide space and traffic to mirror fpc, please contact us. More information can be found at http://www.freepascal.org/mirrors.html

Re: [fpc-pascal]Fw: RE: Toolkit

2004-05-25 Thread Florian Klaempfl
Alan Mead wrote: Jonas made already TTT patches to throw out all asm iirc. But be patient, he's out of office this week :) If he doesn't read this email, email him personally. I propose that we put the sources in the fpc contrib source tree. Frank, This is cool. So, IIRC the original TTT source

Re: [fpc-pascal]FPC Version 1.9.4 released.

2004-06-03 Thread Florian Klaempfl
IoDream wrote: Hi, May I assume MultiThreading issues are gone. Multithreading is improved. However, "advanced" multithreading technologies like recursice mutexes aren't available in a platform independend way yet. And PIC (Position Independant Code) generation is working too ? It was the bigges

Re: [fpc-pascal]archives missing

2004-06-19 Thread Florian Klaempfl
Tomas Hajny wrote: Ron Weidner said: I wanted to view the archives before making any posts to the list. but the following link seems to be broken http://lists.freepascal.org/pipermail/fpc-pascal/ The correct address is http://www.nl.freepascal.org/lists/fpc-pascal/ (it's listed in section More In

Re: [fpc-pascal]ARM cross-compiling error

2004-06-22 Thread Florian Klaempfl
Jose Pascual wrote: hi, I have tried to build last cvs version 1.9.4 for ARM and It can't compile I'm using ppc386 version 1.0.10 to make it! Fixed. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]there is a problem in fpc daily binary snapshot

2004-06-23 Thread Florian Klaempfl
Cristiano Magro wrote: hi when i install the today snapshot the compiler show this version: C:\pp\bin\win32>ppc386.exe -v Hint: End of reading config file fpc.cfg Free Pascal Compiler version 1.9.3 [2004/04/05] for i386 Copyright (c) 1993-2004 by Florian Klaempfl Fatal: No source file name

Re: [fpc-pascal]Default calling convention

2004-07-03 Thread Florian Klaempfl
Thomas Schatzl wrote: In this case procedure nx_fill(P: PLongword; Count: Longint; Value: Longword); assembler; asm pushl %edi movlP,%edi // edi <- P movlValue,%eax // eax <- Value movlCount,%ecx // ecx <- Count rep

Re: [fpc-pascal]Default calling convention

2004-07-04 Thread Florian Klaempfl
Marcel Martin wrote: Florian Klaempfl a écrit : Thomas Schatzl wrote: In this case procedure nx_fill(P: PLongword; Count: Longint; Value: Longword); assembler; asm pushl %edi movlP,%edi // edi <- P movlValue,%eax // eax <- Value movlCoun

Re: [fpc-pascal]Wiki

2004-07-17 Thread Florian Klaempfl
Ivan Shikhalev wrote: Is it possible to use Cyrillic encoding with Wiki? In the FPC one? I guess so ... ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]Math/Algebra Unit for FreePascal

2004-07-24 Thread Florian Klaempfl
Harald Houppermans wrote: 3) Everytime I have to boot on Windows I feel like a little part of me dies. Everytime time Windows hags that little part goes to Hell and says "hi" to Bill Gates. Lol. I think Delphi and Windows are well tested and a excellent choice for any type of application =D Ok, tr

Re: [fpc-pascal]Math/Algebra Unit for FreePascal

2004-07-24 Thread Florian Klaempfl
Harald Houppermans wrote: - Original Message - From: "Florian Klaempfl" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, July 24, 2004 2:25 PM Subject: Re: [fpc-pascal]Math/Algebra Unit for FreePascal Harald Houppermans wrote: 3) Everytime I have to

Re: [fpc-pascal]fpc_mod_qword

2004-07-25 Thread Florian Klaempfl
Marcel Martin wrote: Hello, I saw in the file fpc/rtl/i386/int64p.inc that the function fpc_mod_qword was disabled with the comment "This does not work correctly". The problem is a bad instruction (presumably a typo): .Lqwordmodr_big_divisior: | | shrdl %cl,%edx,%eax shrl %cl,

Re: [fpc-pascal]Re: force ansistrings to be copied on duplication

2004-07-29 Thread Florian Klaempfl
Marc Santhoff wrote: Hi again, Am Do, den 29.07.2004 schrieb Marc Santhoff um 06:33: --- like this --- var s1:PChar='something'; this should be s1:AnsiString='something'; of course ... Use UniqueString(s2) to get a real copy. s2:PChar; begin s2 := s1; if (s1 <> s2) then writeln('Okay

Re: [fpc-pascal]Var parameter passing to asm procedure

2004-08-06 Thread Florian Klaempfl
Ivan Stamenkovic wrote: Hi, I have a problem when trying to pass some variable parameters to a procedure writen using integrated assembler. I have reduced the problem to the following code: program IncrementDemo; {$R+} {$asmmode intel} var a: dword; procedure increment(var x: dword); assembler;

Re: [fpc-pascal]Delphi "9" language features...

2004-08-12 Thread Florian Klaempfl
Matt Emson wrote: Is it allowed for D9 win32 target? We'll have to wait for BorCon04. If it is .not only, see the .NET faq item. But it *is* a fairly standard concept (foreach is the widely used keyword..). It *will* arrive in Win32 at some point (if another Win32 version is released) and so why

Re: [fpc-pascal]Delphi "9" language features...

2004-08-13 Thread Florian Klaempfl
Matt Emson wrote: I don't like the very unspecific implementation. In [SNIP, as this is a matter of opinion, replace this with "other"] That's what I meant however my keyboard ate it ;) languages/libraries there are several kinds of iterators, see e.g. the STL. Exactly, which is why I prefer the i

Re: [fpc-pascal]How to convert between double and extended?

2004-08-15 Thread Florian Klaempfl
Mattias Gaertner wrote: On Sun, 15 Aug 2004 00:11:16 +0200 Jonas Maebe <[EMAIL PROTECTED]> wrote: On 14 aug 2004, at 19:34, Mattias Gaertner wrote: How can I convert between PowerPC double and i386 Extended on a powerpc? For example: I want to save a Double under powerpc to a stream as i386 Ext

Re: [fpc-pascal]Re: How to convert between double and extended? (Mattias Gaertner)

2004-08-15 Thread Florian Klaempfl
Mattias Gaertner wrote: I suggest to reverse the byte at the PPC side, and to "stream" the doubles to the i386 box, and to assign the double there to an extended variable. In this case there is no need for a special conversion routine between double and extended since this is handled by the m

Re: [fpc-pascal]Re: How to convert between double and extended? (Mattias Gaertner)

2004-08-15 Thread Florian Klaempfl
Mattias Gaertner wrote: On Sun, 15 Aug 2004 12:27:10 +0200 Florian Klaempfl <[EMAIL PROTECTED]> wrote: Mattias Gaertner wrote: I suggest to reverse the byte at the PPC side, and to "stream" the doubles to the i386 box, and to assign the double there to an extended variab

Re: [fpc-pascal]Why is FP Win32 Version running and compiling much slower?

2004-08-26 Thread Florian Klaempfl
Zhang Zheng wrote: My operating system is Windows 98. I found that the Win32 Version of F.P runs much slower than DOS Version, no matter compiling or typing in programs.What cause this difference? The Memory? Except for the compiling mode and memory parametres, are there any other greatest differ

Re: [fpc-pascal]Graphics cards, VGALIB

2004-08-26 Thread Florian Klaempfl
Jeff Weeks wrote: Do I really need to use vgalib under linux? It depends what you want to do? I'm having a hard time finding a supported graphics card. Is it true that only a handful of chipsets are supported? Any way to use the X graphics rather than vgalib? Can't get graphics to work on my

Re: [fpc-pascal]how much work is proting fpc

2004-09-03 Thread Florian Klaempfl
Peter Vreman wrote: Hi, At first: Don't get me wrong and expect anything, I'm only curious. That said: How much work would it be to port fpc to another processor? Same for another OS? Maybe some of the experienced folks can give a short sketch in a few sentences of the process of porting. Porting

Re: [fpc-pascal]Graphics cards, VGALIB

2004-09-03 Thread Florian Klaempfl
Jonas Maebe wrote: On 1 sep 2004, at 00:13, Jeff Weeks wrote: I tried the SDL4Freepascal headers and they seem to work. Just can't see how to display text. And they don't appear to work on Macintosh. JEDI-SDL supposedly works on a "modified" version of Freepascal on a Mac. Any Mac people out

Re: [fpc-pascal]Graphics cards, VGALIB

2004-09-03 Thread Florian Klaempfl
Marco van de Voort wrote: On Fri, 3 Sep 2004 15:27:43 +0200 (CEST), Marco van de Voort wrote I was thinking about a simple global file with libnames and weights, with a possibility to override on the commandline. Simple, generic, and configurable. This doesn't look very transparent to me (another

Re: [fpc-pascal]Apple Mac pointer problem

2004-09-26 Thread Florian Klaempfl
Jonas Maebe wrote: On 24 sep 2004, at 18:46, [EMAIL PROTECTED] wrote: testData = record testIndex : packed array [0..12] of integer; end; Wouldn't that solve any alignment problems ? Or doesn't free pascal have a 'packed' directive ? It does, but it only works for individual records. It's igno

Re: [fpc-pascal] Variable scope concurrency

2004-10-14 Thread Florian Klaempfl
Marc Santhoff wrote: Am Do, den 14.10.2004 schrieb Peter Vreman um 07:49: [..] Correct Wow, the shortest possible answer. :) No ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Random(), Randomize, and Linux permissions

2004-09-29 Thread Florian Klaempfl
Alan Mead wrote: It's known that Randomize() is not effective when called rapidly... I tried to solve this using the code sample below. I can cat /dev/null (without becoming root) but when I run the code below I get an access denied RTE at 'Reset(f,1);'.. this code works fine when run as /dev/rand

Re: [fpc-pascal] Free Pascal soom will land in Italy!

2004-09-30 Thread Florian Klaempfl
Jilani Khaldi wrote: Hi All, In the next issue of Linux&C n.42 (http://www.oltrelinux.com) there will be the first article (Special) about Free Pascal (8 pages for this article, never happened before with other cool languages). Linux&C is the number one magazione in Italy dedicated to Linux with

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-10-21 Thread Florian Klaempfl
Den Jean wrote: Hi, Cross-compile for ARM: == I'd like to develop an application on Zaurus (arm) with FPC, but I do not manage to create a cross-compile setup. Qt/Embedded binding for FPC: == I already created a binding for FPC to Qt/Embedded that works with libqte (t

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-10-22 Thread Florian Klaempfl
Den Jean wrote: On Thursday 21 October 2004 06:02 pm, Florian Klaempfl wrote: * Does anyone have a working ARM snapshot ? ftp://ftp.freepascal.org/fpc/snapshot/v19/linux-arm/fpc-1.9.3.arm.tar Hi Thanks. It works fine with the snapshot you pointed out. For a report see : http://users.pandora.be

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-10-24 Thread Florian Klaempfl
Den Jean wrote: On Friday 22 October 2004 04:22 pm, Florian Klaempfl wrote: The "official" way is to do use -XP: ppcarm -XParm-linux- hello and install the arm-linux-as and arm-linux-ld into e.g. /usr/local/bin Nice. Webpage has been updated. What about putting these information into th

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-10-27 Thread Florian Klaempfl
Den Jean wrote: On Monday 25 October 2004 02:36 am, Florian Klaempfl wrote: What about putting these information into the fpc wiki? see my first wiki page on: http://www.freepascal.org/wiki/index.php/Setup_Cross_Compile_For_ARM Thanks :) linked by [Arm] (under development) http

[fpc-pascal] x86-64/linux snapshot upload

2004-11-04 Thread Florian Klaempfl
The first x86-64/linux snapshot has been uploaded. As you can see from the regression test results, the compiler is very stable already: http://www.freepascal.org/cgi-bin/testsuite.cgi?TESTOS=0&TESTCPU=7&TESTVERSION=0&TESTDATE= (i386 for comparison: http://www.freepascal.org/cgi-bin/testsuite.cgi

Re: [fpc-pascal] x86-64/linux snapshot upload

2004-11-04 Thread Florian Klaempfl
Florian Klaempfl wrote: The first x86-64/linux snapshot has been uploaded. Maybe I should post a download link as well :) : ftp://ftp.freepascal.org/pub/fpc/snapshot/v19/linux-x86_64/fpc-1.9.5.x86_64.tar.gz ___ fpc-pascal maillist - [EMAIL PROTECTED

Re: [fpc-pascal] Multi-threading

2004-11-04 Thread Florian Klaempfl
Aleksey Vaneev wrote: Hello, Right now I'm downloading the latest stable release 1.0.10 of FPC. Should I download/recompile something additionally to enable multi-threading support so that memory management and exception handling works fine with multi-threaded programs I create? 1.0.10 does

Re: [fpc-pascal] FPC User Population

2004-11-04 Thread Florian Klaempfl
Mark Emerson wrote: Can anyone give an estimate of how many FPC users there are now, worldwide? I'm not certain how to define this, but would like to get a feeling. One metric might be the number of downloads of various versions. Another might be the size of this email list. My gratitude to

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-11-05 Thread Florian Klaempfl
Den Jean wrote: Anyone any ideas left ??? I built a new cross snapshot with all those issues fixed: ftp://ftp.freepascal.org/pub/fpc/snapshot/v19/linux-arm/fpc-cross-arm-linux.tar.gz ppcarm tmt1 -XParm-linux- -Xd -Fl/usr/arm-linux/lib created for me a working cross compiled test using dl (my emdebi

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-11-07 Thread Florian Klaempfl
Den Jean wrote: On Friday 05 November 2004 08:57 am, Florian Klaempfl wrote: I built a new cross snapshot with all those issues fixed: Big Big Big Thanks. I can already cross-compile my demo program of http://users.pandora.be/Jan.Van.hijfte/qtforfpc/qtedemo.html I updated it (wrong libraryname

Re: [fpc-pascal] Find error?

2004-11-09 Thread Florian Klaempfl
David Emerson wrote: I don't know if there are any speed considerations. No, there aren't any except longer compile times ;) ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Monitoring memory usage

2004-11-09 Thread Florian Klaempfl
Alan Mead wrote: Is there an easy way to monitor memory allocations during a program run (for debugging purposes)? I guess the easiest is using the heaptrc unit and modifying it for your needs. Ideally, this would be some sort of hook into the memory manager rather than something like gdb because

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-11-09 Thread Florian Klaempfl
Den Jean wrote: On Sunday 07 November 2004 04:30 am, Florian Klaempfl wrote: Before I can test it, I've to reinstall my Zaurus, when updating to 3.5.1, the installation got broken :/ It is time to reinstall your Zaurus. Hopefully, I'll get the new (and bigger ;)) SD card toda

Re: [fpc-pascal] Looking for ncurses.pp

2004-11-14 Thread Florian Klaempfl
Karim Forsthofer wrote: Hello I`m looking for the orginal sources of the fpc ncurses bindings from Michael Van Canneyt. Only the compiled file is included in the fpc installation. I`ve try to download packages.zip (from http://www.freepascal.org/develop.html), but the links on this site and on

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-11-23 Thread Florian Klaempfl
Den Jean wrote: On Sunday 21 November 2004 11:41 pm, Den Jean wrote: I also debugged it on the zaurus with gdb. I debugged somewhat more and this learned me that the record Method is passed by reference instead of by value as it should. With a little hack I managed to force a call by value. Libr

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-11-24 Thread Florian Klaempfl
Den Jean wrote: On Tuesday 23 November 2004 11:13 am, Florian Klaempfl wrote: * dynamic arrays : TIntArray = array of integer. On Intel it works fine but on arm not. Bindhelp.pas provides TIntArray pascal helper functions to the binding that is written in C++ eg. this C-code copies

Re: [fpc-pascal] Error: Can't declare procedure as EXTERNAL

2004-12-02 Thread Florian Klaempfl
[EMAIL PROTECTED] wrote: 1) This is not Delphi/Kylix compatible (just try to compile Qt.pas) This is known, but is unfortunately unavoidable. Delphi/Kylix uses an internal linker and can therefore solve this problem. FPC has to use an external linker, and therefore the assembler label must be fi

Re: [fpc-pascal] Internal Error 9999 on FC3

2004-12-04 Thread Florian Klaempfl
Mattias Gaertner wrote: On Sat, 4 Dec 2004 11:36:50 -0300 Agustin Barto <[EMAIL PROTECTED]> wrote: I'm trying to rebuild the srpms of fpc 1.0.10 and 1.9.4 and I'm getting "Internal Error " randomly during the compile process. I'm running FC3 on an AMD Athlon 2600+. I'm guessing it has somethin

Re: [fpc-pascal] SSE in overloaded operators

2004-12-18 Thread Florian Klaempfl
Bartek wrote: hi, i'm trying to get this piece of code to work. but it fails on execution and returns a SIGSEV signal. i think this is caused by the weird code, fpc creates. fpc tryed to access the wide sse registers with multiple short 32bit registers, and at some point, protected memory is access

Re: [fpc-pascal] Win32 API - Scroll Bar inactive

2004-12-23 Thread Florian Klaempfl
[EMAIL PROTECTED] wrote: I am new to Windows programming so please bear with me if it is some trivial mistake. I have created a window with : hWindow := CreateWindow (AppName,'First Prog',ws_OverlappedWindow or WS_VScroll, cw_UseDefault,cw_UseDefault,cw_UseDefault,

Re: [fpc-pascal] fpc-x86_64 1.9.6: Missing oldlinux unit

2005-01-03 Thread Florian Klaempfl
Marcus Roeckrath wrote: -BEGIN PGP SIGNED MESSAGE- Hi, why is there no oldlinux unit in the x86_64 port? I found one in the x386 version of fpc. oldlinux is from 1.0.x times and full of i386 specific code and definitions that's why it was named oldlinux :) I need f. e. the GetDate and Ge

[fpc-pascal] new arm snapshot

2005-01-04 Thread Florian Klaempfl
Though arm/linux didn't make it in 1.9.6, I built a new cross snapshot, you can get it here: ftp://ftp.freepascal.org/pub/fpc/snapshot/beta/arm-linux/arm-linux-fpc.i386-linux.tar.gz More info how to use it can be found here: http://www.freepascal.org/wiki/index.php/Setup_Cross_Compile_For_ARM

<    1   2   3   4   5   6   7   8   >