Re: [fpc-pascal] Lazarus and FPC integration

2005-10-31 Thread Florian Klaempfl
Vincent Snijders wrote: Elio Cuevas Gómez wrote: These are all good things, but if the IDE editor can't handle basic stuff like international characters it's not very useful. For you. It is useful for most of the English speaking people and those are quiet a lot too, although not as much

Re: [fpc-pascal] 64-bit version and libraries

2005-10-31 Thread Florian Klaempfl
Seems like x64-linux fpc version doesn't support shared objects creations, but it stops only while linking... Is there any progress? In the latest svn versions it links but libraries crash at run time. For unknown reasons symbols aren't resolved. ___

Re: [fpc-pascal] Lazarus and FPC integration

2005-10-30 Thread Florian Klaempfl
Agustin Barto wrote: a) Unicode didn't work for me on any (including the lastest) version of Lazarus. I don't know if this is a bug related to my particular enviroment (x86/FC4) or a limitation of the code editor. Unicode can mean a lot? b) When I really needed the multiplatform feature of

Re: [fpc-pascal] Lazarus and FPC integration

2005-10-30 Thread Florian Klaempfl
Agustin Barto wrote: I was talking about design. One example? Polymorphism with primitive data types can get really messy really fast with ObjectPascal. It's not easy, for instance, to have a generic data structure that can store *any* primitive data in a type-safe way. Variants?

Re: [fpc-pascal] Lazarus and FPC integration

2005-10-30 Thread Florian Klaempfl
Agustin Barto wrote: On 10/30/05, Florian Klaempfl [EMAIL PROTECTED] wrote: Agustin Barto wrote: I was talking about design. One example? Polymorphism with primitive data types can get really messy really fast with ObjectPascal. It's not easy, for instance, to have a generic data structure

Re: [fpc-pascal] Systems 2005: A first summary

2005-10-29 Thread Florian Klaempfl
L505 wrote: I got few suggestions, especially to target more Delphi developers. 1. Maybe it'll better for public and new users to know 1 product instead of two: FPC (the compiler) and Lazarus (the IDE). Just like Delphi for the compiler and the IDE in a single package. I still got many times

Re: [fpc-pascal] Records

2005-10-26 Thread Florian Klaempfl
Adriaan van Os wrote: Carsten Bager wrote: We are moving a lot of code from an old platform where it is allowed to compare 2 records like this. Type A_typ=array[0..3] of integer; Var A1,A2:A_typ; Begin If A1=A2 then End; I know that I can typecast to an array of char to

Re: [fpc-pascal] Packed record

2005-10-20 Thread Florian Klaempfl
the memory access Regards Carsten -- Compiler version Free Pascal Compiler version 2.0.0 [2005/05/15] for arm Copyright (c) 1993-2005 by Florian Klaempfl Target OS: Linux for ARM ___ fpc-pascal

Re: [fpc-pascal] Packed record

2005-10-20 Thread Florian Klaempfl
Adriaan van Os wrote: Florian Klaempfl wrote: Carsten Bager wrote: I am using the compiler on an embedded Arm7 platform (no operating system). So fare things are working ok, but now I have discovered a problem when packing records (Vi have to maintain bindery compatibility with older

Re: [fpc-pascal] Packed record

2005-10-20 Thread Florian Klaempfl
Tomas Hajny wrote: What exactly happens there now (I don't have an ARM, just curious ;-) )? Is it that the compiler generates the code as it is instructed to do (i.e. regardless the fact that it might not work under ARM), Yes. That's common behaviour. and that the particular

Re: [fpc-pascal] FPCUnit article/tutorial online.

2005-10-10 Thread Florian Klaempfl
Michael Van Canneyt wrote: On Sun, 9 Oct 2005, Tony Pelton wrote: i started to write a rather lengthy reply to this note, and realized i was starting to rant. so i'm gonna shorten my reply up quite a bit. i'm a java web app programmer by trade. i use Pascal for fun stuff. up until

Re: [fpc-pascal] Graphics in Linux?

2005-09-29 Thread Florian Klaempfl
Rainer Hantsch wrote: Yes, this is exactly what I am looking for. What I wonder is that nobody found a way to open a X11 window redirect all this stuff from/to it, since I started with Linux and FreePascal. -- And this is more than 6 years ago. All what would be required would be some

[fpc-pascal] Test please ignore

2005-09-22 Thread Florian Klaempfl
___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] [Admin] List troubles

2005-09-22 Thread Florian Klaempfl
First, I'am sorry about the mailing list troubles the last weeks. The mailing lists where moved to a new server which caused the trouble some weeks ago. Since this mail server was running sendmail, mail delievery was rather slow so I decided today to switch to postfix. As you may have noticed,

Re: [fpc-pascal] Suspected Strange Error in FPC

2005-09-15 Thread Florian Klaempfl
[EMAIL PROTECTED] wrote: Did you take into care that FPC handles in standard mode nested comments correctly? I.e. { { } is an error while it works for other compilers? FPC expects { { } } (same applies to (* *)). ___ fpc-pascal maillist -

Re: [fpc-pascal] history

2005-09-14 Thread Florian Klaempfl
Bob Barry wrote: In the course of trying to compile fpc docs, I compared file msg2inc.pp of svn to that of the fpc-2.0.0 source tarball. No change whatsoever had been made to the code, but all the revision history has been removed since fpc-2.0.0. This means that users will henceforth be

Re: [fpc-pascal] Darwin compilation

2005-09-14 Thread Florian Klaempfl
, at 16:55, Florian Klaempfl wrote: Paul Davidson wrote: Darwin fails make all. Checked out revision 1075. genmath.inc(1115,28) Fatal: Internal error 200507161 genmath.inc(1115,28) Fatal: Compilation aborted Fixed. make[7]: *** [system.ppu] Error 1 make[6]: *** [darwin_all] Error 2 make

Re: [fpc-pascal] Darwin compilation

2005-09-13 Thread Florian Klaempfl
Paul Davidson wrote: Darwin fails make all. Checked out revision 1075. genmath.inc(1115,28) Fatal: Internal error 200507161 genmath.inc(1115,28) Fatal: Compilation aborted Fixed. make[7]: *** [system.ppu] Error 1 make[6]: *** [darwin_all] Error 2 make[5]: *** [rtl] Error 2 make[4]: ***

Re: [fpc-pascal] fpc 2.0 and DOM/xml under OS/2 gives me Process terminated by SIGSEGV

2005-09-10 Thread Florian Klaempfl
Tomas Hajny wrote: From: Tomas Hajny [EMAIL PROTECTED] To: FPC-Pascal users discussions fpc-pascal@lists.freepascal.org Subject:Re: [fpc-pascal] fpc 2.0 and DOM/xml under OS/2 gives me Process terminated by SIGSEGV Send reply to:

Re: [fpc-pascal] FPC 64bit

2005-09-09 Thread Florian Klaempfl
Roberto Della Pasqua wrote: Hi kind users, I like ask how is the status of FPC64 under linux. I can tell you what's the developer's opinion. About: - reliability (can be used to build 24x365 system tcp daemons?) I think so, as long as you don't depend on seldomly used parts of the FCL.

Re: [fpc-pascal] Cross compiler win32/ARM error code 2 ?

2005-09-03 Thread Florian Klaempfl
[EMAIL PROTECTED] wrote: Hi, just trying to build fpc (today snapshot 2.1.X) for win32 plateform and wince arm target. i get the following error message ? D:\FPC\2.1.x-srcmake all OPT=-vt CPU_TARGET=arm OS_TARGET=wince CROSSBINDIR=d:\ fpc\cross\arm-wince BINUTILSPREFIX=arm-wince-

Re: [fpc-pascal] Embedded ARM system unit

2005-08-24 Thread Florian Klaempfl
Marco van de Voort wrote: I am in the first stage of creating a system unit for Embedded ARM. Things are working but I get a lot of Warnings and Hints (See some of them below). Should I be worried about this? I see no troubling ones. THe first few mean that generic might not be 64-bit

Re: [fpc-pascal] Embedded ARM system unit

2005-08-24 Thread Florian Klaempfl
Michael Van Canneyt wrote: On Wed, 24 Aug 2005, Florian Klaempfl wrote: Marco van de Voort wrote: I am in the first stage of creating a system unit for Embedded ARM. Things are working but I get a lot of Warnings and Hints (See some of them below). Should I be worried about

Re: [fpc-pascal] Problem with freevision (winxp pro sp2 english)

2005-08-24 Thread Florian Klaempfl
. -FUunits/i386-win32 -di386 tfileio.pas Free Pascal Compiler version 2.0.0 [2005/05/08] for i386 Copyright (c) 1993-2005 by Florian Klaempfl Target OS: Win32 for i386 Compiling tfileio.pas fvcommon.pas(2,18) Fatal: Can't find unit FVCommon fvcommon.pas(2,18) Error: Compilation aborted make

Re: [fpc-pascal] Freepascal 2.0 for cygwin

2005-08-22 Thread Florian Klaempfl
L505 wrote: I know nothing about the first program, executed by the first computer, if that's what you are asking, but I guess it was probably written by hand in machine language. That leads to the first program that ran the first software program actually being a hardware program. The

Re: [fpc-pascal] Freepascal 2.0 for cygwin

2005-08-21 Thread Florian Klaempfl
Matt Emson wrote: Is there some posibility to make (compiling) fpc without fpc? Is there some makefile or script in fpc (cvs) to avoid to use a fpc 1.0.0 or 2.0.0 to create a fpc new version? Cygwin runs exclusively on Windows machines... FPC has a Windows port. Whilst I can see the point

Re: [fpc-pascal] Variants vs. Variant Records

2005-07-24 Thread Florian Klaempfl
Agustin Barto wrote: I have to build some container classes (like java Vector) for a project. I was thinking on how to store some primitive values (so far I only need to store Integer, Real or Extended and ShortString) and I can't decide between variants (variant arrays) and variant records

Re: [fpc-pascal] fast integer multiplication

2005-07-22 Thread Florian Klaempfl
Vincent Snijders wrote: Hi, Suppose I have the following code: var a,b: dword; c: qword; begin a := 1000; b := 2000; c := a * b; writeln(c); end. Now, although c is large enough to contain the result only the lower dword is filled. I can force correct

Re: [fpc-pascal] Sharp Zaurus ARM port stability?

2005-07-21 Thread Florian Klaempfl
Matt Emson wrote: Just laid my hands on a used Zaurus SL5500. I was wondering how stable the Zaurus cross compiler and QT wrapper were? Should be very usable. I realise this is slightly off topic, but I remember the developer working on the bindings posted to this list a while back.

Re: [fpc-pascal] Recursion

2005-07-18 Thread Florian Klaempfl
Paul Davidson wrote: Having problem with app. It is rule based, and operates with recursion. Events, such as HTTP requests, timers etc, are processed in separate threads such that rule engine can handle more than one request at a time. When a rule cascade recurses for 10th time, a thread

Re: [fpc-pascal] ansistrings access by character

2005-07-10 Thread Florian Klaempfl
L505 wrote: | | Or if you wanted to prepend exceptions rather than catch them, the following | function could also work have worked (note you have to do a shortString cast, | AnsiStrings don't like access by character) | I was under the same impression for a long time, but some of the FPC RTL

Re: [fpc-pascal] Something like Is a number?

2005-07-09 Thread Florian Klaempfl
Thomas Zastrow wrote: John Coppens wrote: On Fri, 08 Jul 2005 16:39:05 +0200 Thomas Zastrow [EMAIL PROTECTED] wrote: Hello, I'm converting some strings with strtoint into integers. But sometimes the string can't be converted to a number. Is there a function which takes a string and

Re: [fpc-pascal] ARM compiler platforms

2005-07-07 Thread Florian Klaempfl
Marc Santhoff wrote: Hi, since the website only seems to mention the Zaurus as device for running fpc and executing it's program i assume (cross)compiling at least works on linux. What other op-sys's and devices are supported? Would any ARM-based handheld do? How about embedded linux

Re: [fpc-pascal] profiler

2005-07-02 Thread Florian Klaempfl
Gerhard Scholz wrote: I have problems when compiling with -pg (profiler) Is this my fault or a compiler error? P:\FmtBCDppc386 -a -pg -Croit -Op1 testprof Free Pascal Compiler version 2.1.1 [2005/06/25] for i386 Copyright (c) 1993-2005 by Florian Klaempfl Target OS

[fpc-pascal] www.freepascal.org is back

2005-06-28 Thread Florian Klaempfl
and everything should work fine again though at least I lost some mails when it came back because it ate some mails while the mail system wasn't properly configured ... ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

[fpc-pascal] www.freepascal.org down

2005-06-27 Thread Florian Klaempfl
www.freepascal.org which servers also svn.freepascal.org, cvs.freepascal.org and the developer mails is currently down because the hard disk with the root partition is broken. No data is lost but things must be reinstalled which is planned to be done on the 28th June CET. www.de.freepascal.org

Re: [fpc-pascal] Exec with many params

2005-06-23 Thread Florian Klaempfl
Antal wrote: in linux I can't use the exec for executing a program with more than one parameter. I tried to supply more than a parameter separeted with whitespace, but it's not reliable, since the program is treating it as just one parameter so I can't pass options to programs, such as: ls -l .*

Re: [fpc-pascal] Freepascal Advocate Store

2005-06-23 Thread Florian Klaempfl
L505 wrote: Are there any I Love Freepascal t-shirts, hats, coffee mugs, etc.? Afaik not. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] strange behaviour of readkey...or not

2005-06-20 Thread Florian Klaempfl
Darius Blaszijk wrote: Hi there, I have a console app that reads keys being pressed and then does some action. In short it would be like this: repeat if fileage(myfile) imyfile then begin writeln('file changed'); imyfile := fileage(myfile); end; ch := readkey;

Re: [fpc-pascal] selecting target processor

2005-06-19 Thread Florian Klaempfl
Jonas Maebe wrote: On 19 Jun 2005, at 20:48, Marc Santhoff wrote: how can I tell fpc to use only instructions supported on a specific processor? I'm compiling on an athlon for running on a geode (restriction has to define instruction set from x686 to x586, I think). In theory, the

Re: [fpc-pascal] selecting target processor

2005-06-19 Thread Florian Klaempfl
Tomas Hajny wrote: Date sent:Sun, 19 Jun 2005 22:49:44 +0200 From: Florian Klaempfl [EMAIL PROTECTED] To: FPC-Pascal users discussions fpc-pascal@lists.freepascal.org Subject: Re: [fpc-pascal] selecting target processor Send reply

Re: [fpc-pascal] SSe2 with FPC

2005-06-02 Thread Florian Klaempfl
Pianoman wrote: Hello everyone, I have got interesting results from my test of SSE2 switch. I tested a small code fragment with and without SSE2 swith and I Saw no difference. Why is this? Iused FPC 2.0 on WIN 32 to compile it with Best optimization Code fragment follows: {$fputype

Re: [fpc-pascal] Optimizer in 2.0

2005-06-01 Thread Florian Klaempfl
Adrian Veith wrote: It shows with useless code like simple nested for .. to loops, but also with some more useful code like the attached RSA_Angriff from the C'T magazine. My results are with: fpc -Sd -OG3rp3 -XX RSA_Angriff_D5.dpr 5266 ms with: fpc -Sd -XX RSA_Angriff_D5.dpr

Re: [fpc-pascal] Optimizer in 2.0

2005-05-31 Thread Florian Klaempfl
Adrian Veith wrote: Hi, I am newbie with fpc (but not with pascal, which I use more than 20y now). We have lot of existing delphi code, which some of it, I want to port to new platforms - and fpc looks like the right tool for it. But I am concerned about the speed. I did some basic

Re: [fpc-pascal] Re: type definitions etc

2005-05-29 Thread Florian Klaempfl
listmember wrote: Jeff Pohlmeyer wrote: To clarify, you can actually have many additional types between the pointer type and the record definition, as long as you don't introduce another section keyword that turns off the current type section. For instance, this will work: type

Re: [fpc-pascal] Re:

2005-05-29 Thread Florian Klaempfl
listmember wrote: Florian Klaempfl wrote: It's simply the philosophy of pascal: things which need not to work don't work. The extra type gives no gain, so why should be allowed? I am not sure it is one of those things that need not work. What would be the gain? You could look

Re: [fpc-pascal] Re: type declarations [was Re:]

2005-05-29 Thread Florian Klaempfl
listmember wrote: Florian Klaempfl wrote: I am not sure it is one of those things that need not work. What would be the gain? Unless the compiler generates some sort of hint, or warning; the loss (i.e. negative gain) is a needlesly confused developer. No, he should simply know

Re: [fpc-pascal] Arrays in debugger; No range errors on arrays

2005-05-25 Thread Florian Klaempfl
Lance Boyle wrote: Well--that's just lovely. How about getting this fixed? What other surprises should I know about before using FPC? I wonder how you can be suprised, it's perfectly documented: http://www.freepascal.org/docs-html/prog/progsu46.html#x53-510001.1.46 If you didn't use a Borland

Re: [fpc-pascal] java programmer

2005-05-21 Thread Florian Klaempfl
Tony Pelton wrote: I had it running in about 10 minutes. I was blown away. I'am also working at work daily with C++ but it can't beat the productivity of pascal. i'm not seeing anything right off that looks like a nice,clean,portable little unit that would emulate what i might find in

Re: [fpc-pascal] FPC version 2.0.0 officially released.

2005-05-16 Thread Florian Klaempfl
[EMAIL PROTECTED] wrote: Congratulations, and many thanks. Will it compile itself ? Yes, of course :) Bob Martin Michael Van Canneyt [EMAIL PROTECTED] wrote the following on 16/05/05 10:17:46: Hello, The FPC team is pleased to announce the availability of version 2.0.0 of the Free Pascal

Re: [fpc-pascal] building docs from cvs

2005-05-11 Thread Florian Klaempfl
Bob Barry wrote: Michael - On Sun, 8 May 2005 11:25 you wrote: But ps and pdf still don't compile. Strange, because I did a 'make alldist' yesterday and uploaded all docs for the 2.0 release. All is committed and tagged. Compilation of pdf and ps fail for me, but it looks like the

Re: [fpc-pascal] Error: cannot find -lcurses

2005-04-24 Thread Florian Klaempfl
Marco van de Voort wrote: Greenblatt [EMAIL PROTECTED] wrote: Hi, I have a problem with FreePascal 1.0.10 under SuSE 9.1. If I want to compile source code, which makes use of the keyboard unit, I get the following error message: /usr/bin/ld: cannot find -lcurses Pong(46) Error: Error while

Re: [fpc-pascal] is

2005-04-07 Thread Florian Klaempfl
Thomas Schatzl wrote: Additionally if you examine code, _far_ the most applications do simple forward (and maybe backward) iteration over a collection (also because there are not that much collections where random access makes sense runtime-wise). There come a lot in my mind: e.g.

Re: [fpc-pascal] is

2005-04-05 Thread Florian Klaempfl
[EMAIL PROTECTED] wrote: Quoting Florian Klaempfl [EMAIL PROTECTED]: [EMAIL PROTECTED] wrote: Personaly, I stopped carring (its been a week or two now, and I still haven't got the answer even where the problem lies) Well, we try currently prepare 2.0 so the focus is currently on bug

Re: [fpc-pascal] is

2005-04-05 Thread Florian Klaempfl
[EMAIL PROTECTED] wrote: Interfaces are part of 2.0 but mainly to be dephi compatible. You mean that 20% of functionality of delphi interfaces that you currently support? Well, those 20% cover 80% of interface usage. The most important where interfaces are used is COM importing and that

Re: [fpc-pascal] is

2005-04-05 Thread Florian Klaempfl
Thomas Schatzl wrote: Hello, I think I have to make some things more clear why I am in favor of that foreach: Thomas Schatzl schrieb: Features being developed now are: MI interfaces 90% (MI=multiple inheritance) Inclasses 15% (embedded classes) foreach 0% (well, we know you hate

Re: [fpc-pascal] (no subject)

2005-04-05 Thread Florian Klaempfl
Gergely MOLNAR wrote: hi! Anybody knows why fpc win32 IDE consumes much cpu time on windows me (and also win xp). At least for me it doesn't on XP and I never heard that it does on XP. 9x/ME is another story, the console implementation of 9x/ME is poor. I think the best option for 9x/ME

Re: [fpc-pascal] interface is patch (finished and included)

2005-04-02 Thread Florian Klaempfl
ml wrote: i included again my refcount patch (haven't got even a little response on it. i'm slowly starting to wonder if i'm on the right mailing list (usually devel list is for internal purposes of regular developers, and others are... well,... for others (as well as bug reporting as

Re: [fpc-pascal] Re: confirm 7ee8cb55777a34d60501ace9d48fd22e1e5cc429

2005-04-01 Thread Florian Klaempfl
Mindaugas Indriunas wrote: Hello. I would like to understand better how the Lazarus Freepascal works. Is there any free working software that is written purely in Lazarus Freepascal, Lazarus itself :)? the sourcecode of which I could download and study? Also, what reference Help

Re: [fpc-pascal] Patches

2005-03-28 Thread Florian Klaempfl
Raw Magick DOT COM wrote: Hi All, I see patches being released here, though I dont quite yet get how to apply them, I have just downloaded source and make'd it using FPC. I was wondering if these patches were automatically applied to that evenings build of the sources and if not how often

Re: [fpc-pascal] Blockread and buffers

2005-03-25 Thread Florian Klaempfl
Peter J. Haas wrote: Hi Peter, on 2005-03-25T19:37:02+02:00 Peter wrote: I know. But why I should explain it more detailed, if you anyway disapprove such suggestions. :-( Most ppl want compatibility with Delphi. When we add a warning for uninitialized var parameters then there will be a

Re: [fpc-pascal] Question about interfaces

2005-03-20 Thread Florian Klaempfl
Michael Van Canneyt wrote: On Sun, 20 Mar 2005, ml wrote: On Sun, 2005-03-20 at 02:55 +0200, Nikolay Nikolov wrote: ml wrote: Other possibilities like ['?','%','$','|','','::','^'] were only named under btw. (and how can btw. under question 2 become the main flaming topic is out of my reason,

[fpc-pascal] future of go32v2 version

2005-03-05 Thread Florian Klaempfl
As you may have noticed, there is no 1.9.8 version for go32v2. The reason is simply that the current fpc developers doesn't have enough time to maintain the go32v2 port. So my question is if anybody is willing to contribute/fix bugs of the go32v2 port.

Re: [fpc-pascal] Absolute

2005-03-03 Thread Florian Klaempfl
Carsten Bager wrote: Hi I have a problem with the following when I try to compile it with the ppcrossarm compiler. This error dos not show when I am doing a normal compile. I have tried with version 1.9.4 and 1.9.9 Carsten -- Program bb; var test:integer absolute 0030; Begin End.

Re: [fpc-pascal] TThread.Synchronize

2005-02-26 Thread Florian Klaempfl
chromdildo wrote: Hello guys. I don't want to annoy you again.. ...but what's up with TThread ? TThread.Synchronize(@myfunction); //simply doesn't call myfunction I can call it directly but not via synchronize. If not synchronized, gtk+ blows. What am I doing wrong :( You need to call

Re: [fpc-pascal] TThread.Synchronize

2005-02-26 Thread Florian Klaempfl
chromdildo wrote: Hallo and thanks for the quick reply. TThread.Synchronize(@myfunction); //simply doesn't call myfunction Florian Klaempfl wrote: You need to call CheckSynchronize in your main loop. However, Sychronize is broken in the 1.9.8 release. Will this get fixed until 2.0.0 ? It's

[fpc-pascal] FPC 1.9.8 aka 2.0.0-RC2

2005-02-25 Thread Florian Klaempfl
Hello, The Free Pascal Team is pleased to announce that FPC version 1.9.8 (or 2.0.0-RC2) is available and ready for download. This is a pre-release of version 2.0. As such, it is considered a beta of the upcoming 2.0 release, which is expected to be released in a few weeks. While this is

Re: [fpc-pascal] Version 1.9.6[??] on the Mac.

2005-01-15 Thread Florian Klaempfl
Simon Kissel wrote: [Sorry, didn't notice reply-to is set to sender and not the list here] Skybuck, thanks for the detailed guide. However, it was simpler than that... with the help from the guys at #fpc, I got ftp://ftp.freepascal.org/pub/fpc/contrib/cross/mingw/mingwcross.zip Unzipped that to

Re: [fpc-pascal] Delphi To Free Pascal

2005-01-12 Thread Florian Klaempfl
If you want as much as possible delphi compatibility and a delphi styled environment, use lazarus: www.lazarus.freepascal.org . [EMAIL PROTECTED] wrote: Hi, This my test to see if free pascal can be used to compile Delphi Projects. I have thousands of delphi projects/project files etc... but for

Re: [fpc-pascal] [fpc-1.9.6-0.x86_64] linking cthreads and dl

2005-01-10 Thread Florian Klaempfl
Henri Gourvest wrote: I'm trying to compile on suse 9.2 but when I use the dl unit and the cthreads unit the linker don't work. it can't find -ldl. I've tryed to use this compiler options without success: {$IFDEF FPC} {$IFDEF UNIX} {$IFNDEF BSD} {$linklib dl}{$ENDIF} {$linklib crypt}

[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

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

2005-01-04 Thread Florian Klaempfl
Marcus Roeckrath wrote: -BEGIN PGP SIGNED MESSAGE- Hallo Marco, Am Dienstag, 4. Januar 2005 08:22 schrieb Marco van de Voort: Oldlinux is x86 only. It is one of the reasons why it was abandoned. OK, I have begun to rewrite my older i386 (fpc 1.0) pascal sources. I found some other

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

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] 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

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

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] 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.

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] 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] 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 today so I can

[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=0TESTCPU=7TESTVERSION=0TESTDATE= (i386 for comparison:

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] 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

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

2004-10-25 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 the fpc wiki

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-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

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] Free Pascal soom will land in Italy!

2004-09-30 Thread Florian Klaempfl
Jilani Khaldi wrote: Hi All, In the next issue of LinuxC 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). LinuxC is the number one magazione in Italy dedicated to Linux with

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

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

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

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

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

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

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 variable. In this case

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

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

<    1   2   3   4   5   6   7   >