Re: [fpc-pascal] DateToStr in arm does not work!

2007-07-03 Thread Jonas Maebe
On 03 Jul 2007, at 23:45, [EMAIL PROTECTED] wrote: Luca, > could you check bug 9191? > > http://www.freepascal.org/mantis/view.php?id=9191 if I try to compile, the linker complaints about not finding the object dl, though dl.o and dl.ppu are present in the rtl/units/arm- linux directory

Re: [fpc-pascal] DateToStr in arm does not work!

2007-07-03 Thread Luca Olivetti
En/na [EMAIL PROTECTED] ha escrit: Luca, > could you check bug 9191? > > http://www.freepascal.org/mantis/view.php?id=9191 if I try to compile, the linker complaints about not finding the object dl, though dl.o and dl.ppu are present in the rtl/units/arm-linux directory. D:\FPC214\B1\BIN

Re: [fpc-pascal] DateToStr in arm does not work!

2007-07-03 Thread mueller . b
Luca, > could you check bug 9191? > > http://www.freepascal.org/mantis/view.php?id=9191 if I try to compile, the linker complaints about not finding the object dl, though dl.o and dl.ppu are present in the rtl/units/arm-linux directory. D:\FPC214\B1\BINUTI~3\arm-linux-ld.exe: cannot find -ld

Re: [fpc-pascal] DateToStr in arm does not work!

2007-07-03 Thread Luca Olivetti
En/na Bernd Mueller ha escrit: FPC 2.1.4 compiler built without softfloat option, running on an (little endian) ARM processor without fpu on Linux, kernel version 2.6.21.1 (OABI). ppcrossarm -gl datetostr_test.pas could you check bug 9191? http://www.freepascal.org/mantis/view.php?id=91

Re: [fpc-pascal] DateToStr in arm does not work!

2007-07-03 Thread Marc Santhoff
Am Dienstag, den 03.07.2007, 21:49 +0200 schrieb Bernd Mueller: > Henry Vermaak wrote: > > On 03/07/07, josepascual <[EMAIL PROTECTED]> wrote: > >> Thank you henry, > >> > >> I have downloaded svn version 7943 how can I donwload svn 7929? > >> > >> How are you build fpc for arm? make clean crossall

Re: [fpc-pascal] DateToStr in arm does not work!

2007-07-03 Thread Bernd Mueller
josepascual wrote: Hi Everyone; Please, can someone test this program and write to the list if it works in arm-linux. program datetostr_test; uses sysutils; begin writeln(datetostr(now)); end. I always receive An unhandled exception occurred at $BEED89C8 : EAccessViolation : Access viol

Re: [fpc-pascal] DateToStr in arm does not work!

2007-07-03 Thread Henry Vermaak
On 03/07/07, Bernd Mueller <[EMAIL PROTECTED]> wrote: Are you sure? If I remember right, using softfloat in conjunction with fpc means, that the compiler never emits floating point operations. All the floating point is going through the softfpu unit. This means, *if* you have a fpu, you waste spe

Re: [fpc-pascal] DateToStr in arm does not work!

2007-07-03 Thread Luca Olivetti
En/na Henry Vermaak ha escrit: I'm asking because jose original test program fails here, while the above program correctly prints out 0.150 does the above work if you set a or be to a negative number? my softfloat crashes with writeln(negative number). Yes maybe you should try fpc 2.3.1,

Re: [fpc-pascal] DateToStr in arm does not work!

2007-07-03 Thread Bernd Mueller
Henry Vermaak wrote: On 03/07/07, josepascual <[EMAIL PROTECTED]> wrote: Thank you henry, I have downloaded svn version 7943 how can I donwload svn 7929? How are you build fpc for arm? make clean crossall CPU_TARGET=arm OS_TARGET=linux ? Which version of binutils do you have? (eabi?) Is SO

Re: [fpc-pascal] DateToStr in arm does not work!

2007-07-03 Thread Henry Vermaak
On 03/07/07, Luca Olivetti <[EMAIL PROTECTED]> wrote: If this program compiles and works fine: program floattest; uses sysutils; var a,b:double; begin a:=0.5; b:=0.3; writeln(format('%5.3f',[a*b])); end. can I assume that either my compiler has been built with the right options or I have a

Re: [fpc-pascal] DateToStr in arm does not work!

2007-07-03 Thread Luca Olivetti
En/na Henry Vermaak ha escrit: soft float just means that the compiler needs to emulate the floating point unit if it doesn't exist in your hardware (like some arm processors). if you have an fpu, then you don't have to worry about soft float. the following assumes that you need soft float in

Re: [fpc-pascal] PowerPC crosscompiler on i386 Mac OS X looks for, wrong assembler and linker

2007-07-03 Thread Felipe Monteiro de Carvalho
On 7/3/07, Micha Nelissen <[EMAIL PROTECTED]> wrote: You *must* be joking, right ? Usually it involves digging through a messy config.log, where you sometimes can't really find the reason (just one of those mysterious test compiles failed) and then have to decrypt an enormously complex configure

Re: [fpc-pascal] PowerPC crosscompiler on i386 Mac OS X looks for, wrong assembler and linker

2007-07-03 Thread Micha Nelissen
Adriaan van Os wrote: > build and then the Makefile takes cares of the rest. If a configuration > is not supported or if there is a problem, you get a clear error message. You *must* be joking, right ? Usually it involves digging through a messy config.log, where you sometimes can't really find th

Re: [fpc-pascal] DateToStr in arm does not work!

2007-07-03 Thread Henry Vermaak
On 03/07/07, josepascual <[EMAIL PROTECTED]> wrote: Thank you henry, I have downloaded svn version 7943 how can I donwload svn 7929? How are you build fpc for arm? make clean crossall CPU_TARGET=arm OS_TARGET=linux ? Which version of binutils do you have? (eabi?) Is SOFTFLOAT in freepascal

Re: [fpc-pascal] DateToStr in arm does not work!

2007-07-03 Thread Luca Olivetti
En/na josepascual ha escrit: I always receive An unhandled exception occurred at $BEED89C8 : EAccessViolation : Access violation $BEED89C8 same here (only at a different address), though I have many funky errors under arm that nobody else has. Using self-built native fpc-2.1.4 [EMAIL PR

Re: [fpc-pascal] How do I join the Lazarus list?

2007-07-03 Thread Andrew Haines
Tom York wrote: > I cannot seem to find a way to join the mailing list. It's on this page: http://www.lazarus.freepascal.org/modules.php?op=modload&name=StaticPage&file=index&sURL=maill It's the link that says "subscribe" mailto:[EMAIL PROTECTED] Regards, Andrew ___

Re: [fpc-pascal] Documentation for sqldb - More Questions

2007-07-03 Thread Michael Van Canneyt
On Tue, 3 Jul 2007, Joost van der Sluis wrote: > On Tue, 2007-07-03 at 17:38 +0200, Michael Van Canneyt wrote: > > > What I do like is the idea of storing strings in a > > > widestring/ansistring. I tried to implement that earlier, but it's > > not > > > doable in a Delphi-compatible way. As you

Re: [fpc-pascal] DateToStr in arm does not work!

2007-07-03 Thread Felipe Monteiro de Carvalho
On 7/3/07, josepascual <[EMAIL PROTECTED]> wrote: I have downloaded svn version 7943 how can I donwload svn 7929? svn update -r 7929 -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.or

RE: [fpc-pascal] DateToStr in arm does not work!

2007-07-03 Thread josepascual
tion : Access violation > > $BEED89C8 > > > > > > if for someone this program work, please write me with your Fpc for > arm > > version. > > > > thank you in advanced > > > > best regards > > > > Jose Pascual > > >

Re: [fpc-pascal] DateToStr in arm does not work!

2007-07-03 Thread Henry Vermaak
On 03/07/07, josepascual <[EMAIL PROTECTED]> wrote: Hi Everyone; Please, can someone test this program and write to the list if it works in arm-linux. program datetostr_test; uses sysutils; begin writeln(datetostr(now)); end. works for me, using svn 7929, compiled for arm little endian wi

[fpc-pascal] DateToStr in arm does not work!

2007-07-03 Thread josepascual
Hi Everyone; Please, can someone test this program and write to the list if it works in arm-linux. program datetostr_test; uses sysutils; begin writeln(datetostr(now)); end. I always receive An unhandled exception occurred at $BEED89C8 : EAccessViolation : Access violation $BEED89C8 if

Re: [fpc-pascal] Documentation for sqldb - More Questions

2007-07-03 Thread Joost van der Sluis
On Tue, 2007-07-03 at 17:38 +0200, Michael Van Canneyt wrote: > > What I do like is the idea of storing strings in a > > widestring/ansistring. I tried to implement that earlier, but it's > not > > doable in a Delphi-compatible way. As you said, you don't have that > > problem. But it's still somet

Re: [fpc-pascal] Documentation for sqldb - More Questions

2007-07-03 Thread Michael Van Canneyt
On Tue, 3 Jul 2007, Joost van der Sluis wrote: > On Tue, 2007-07-03 at 14:13 +0200, Martin Schreiber wrote: > > > I aggree with Michael on this. Besides, last time I looked at your > > > 'TBufDataset' (which is a actually a fork, offcourse) it only > > > implemented blob-fields, on top of the ex

[fpc-pascal] How do I join the Lazarus list?

2007-07-03 Thread Tom York
I cannot seem to find a way to join the mailing list. TIA, Tom ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Documentation for sqldb - More Questions

2007-07-03 Thread Joost van der Sluis
On Tue, 2007-07-03 at 14:13 +0200, Martin Schreiber wrote: > > I aggree with Michael on this. Besides, last time I looked at your > > 'TBufDataset' (which is a actually a fork, offcourse) it only > > implemented blob-fields, on top of the existing TBufDataset. > > > > The current TBufDataset also s

Re: [fpc-pascal] Documentation for sqldb - More Questions

2007-07-03 Thread John
Joost van der Sluis wrote: When I set ParseSQL to False, the object inspector in Lazarus says "updating is only possible if ParseSQL is true" - unless I make it readonly, which defeats the purpose. That's a but, I think. It should check if there are any update/delete/insert

Re: [fpc-pascal] Documentation for sqldb - More Questions

2007-07-03 Thread Michael Van Canneyt
On Tue, 3 Jul 2007, Martin Schreiber wrote: > On Tuesday 03 July 2007 14.49, Michael Van Canneyt wrote: > > > > Quick question, before I continue with the evaluation: > > > > I find no evidence of this last thing in the code ? (in trunk, that is) > > msbufdataset has fixed buffers for strings, a

Re: [fpc-pascal] Documentation for sqldb - More Questions

2007-07-03 Thread Martin Schreiber
On Tuesday 03 July 2007 14.49, Michael Van Canneyt wrote: > > Quick question, before I continue with the evaluation: > > I find no evidence of this last thing in the code ? (in trunk, that is) > msbufdataset has fixed buffers for strings, and uses 1 byte per char. > There is some garbage in the dir

Re: [fpc-pascal] Documentation for sqldb - More Questions

2007-07-03 Thread Michael Van Canneyt
On Tue, 3 Jul 2007, Martin Schreiber wrote: > On Tuesday 03 July 2007 13.16, Joost van der Sluis wrote: > > On Tue, 2007-07-03 at 12:57 +0200, Michael Van Canneyt wrote: > > > I'd rather see that the whole is coordinated a bit. I don't think all > > > this > > > duplication is a good idea; One s

Re: [fpc-pascal] Documentation for sqldb - More Questions

2007-07-03 Thread Michael Van Canneyt
On Tue, 3 Jul 2007, Martin Schreiber wrote: > On Tuesday 03 July 2007 12.57, Michael Van Canneyt wrote: > > I'd rather see that the whole is coordinated a bit. I don't think all this > > duplication is a good idea; One solid set of components makes much more > > sense: the number of developers a

Re: [fpc-pascal] Documentation for sqldb - More Questions

2007-07-03 Thread Martin Schreiber
On Tuesday 03 July 2007 13.16, Joost van der Sluis wrote: > On Tue, 2007-07-03 at 12:57 +0200, Michael Van Canneyt wrote: > > I'd rather see that the whole is coordinated a bit. I don't think all > > this > > duplication is a good idea; One solid set of components makes much > > more > > sense: the

Re: [fpc-pascal] Documentation for sqldb - More Questions

2007-07-03 Thread Martin Schreiber
On Tuesday 03 July 2007 12.57, Michael Van Canneyt wrote: > I'd rather see that the whole is coordinated a bit. I don't think all this > duplication is a good idea; One solid set of components makes much more > sense: the number of developers available for it's maintenance would > double. The end u

Re: [fpc-pascal] Documentation for sqldb - More Questions

2007-07-03 Thread Joost van der Sluis
On Tue, 2007-07-03 at 12:57 +0200, Michael Van Canneyt wrote: > > I'd rather see that the whole is coordinated a bit. I don't think all > this > duplication is a good idea; One solid set of components makes much > more > sense: the number of developers available for it's maintenance would > double

Re: [fpc-pascal] Documentation for sqldb - More Questions

2007-07-03 Thread Joost van der Sluis
On Tue, 2007-07-03 at 20:30 +1000, John wrote: > > > 1) When I tried editing in a dbGrid, I had trouble with the field > > > length. Looking through the code, I can't see anywhere where the length > > > of a string is checked against the length of the field, and longer > > > strings appear to

[fpc-pascal] arm bugs

2007-07-03 Thread Henry Vermaak
anyone got updates on the writeln(negative float) bug for arm? http://freepascal.org/mantis/view.php?id=8737 i just tested again after a long time and it's still going wrong. writeln(positive float) works. i've noticed some endian stuff changed recently, so i'll test arm big endian soon. thank

Re: [fpc-pascal] Documentation for sqldb - More Questions

2007-07-03 Thread John
Joost van der Sluis wrote: On Tue, 2007-07-03 at 17:55 +1000, John wrote: I have a basic editable connection working now, but there remain a number of questions: 1) When I tried editing in a dbGrid, I had trouble with the field length. Looking through the code, I can't see any

Re: [fpc-pascal] Documentation for sqldb - More Questions

2007-07-03 Thread John
Michael Van Canneyt wrote: I'd rather see that the whole is coordinated a bit. I don't think all this duplication is a good idea; One solid set of components makes much more sense: the number of developers available for it's maintenance would double. The end user would also benefit, as we can gi

Re: [fpc-pascal] Need to declare FindIntToIdent in Classesh.inc

2007-07-03 Thread Michael Van Canneyt
On Tue, 3 Jul 2007, zaher dirkey wrote: > Hi, > I need make this functions founded in classes.inc > function FindIntToIdent(AIntegerType: Pointer): TIntToIdent; > function FindIdentToInt(AIntegerType: Pointer): TIdentToInt; Why don't you use the IdentToInt and IntToIdent functions ? The stream

Re: [fpc-pascal] Documentation for sqldb - More Questions

2007-07-03 Thread Michael Van Canneyt
On Tue, 3 Jul 2007, Martin Schreiber wrote: > On Tuesday 03 July 2007 11.36, Michael Van Canneyt wrote: > > > > Why don't you contribute the database code to the FCL ? This way, everybody > > benefits from it. It's non-visual code, so it can perfectly be separated > > out. > > > It depends on th

Re: [fpc-pascal] fpimage BMP and X11 implementation

2007-07-03 Thread Graeme Geldenhuys
On 03/07/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: Create a descendent of TFPCustomImage, say TFPGUIImage. It has an internal TXImage field. When the dimensions are set of the image (in SetSize), you allocate the TXImage with the correct dimensions: So I think the best is to override set

Re: [fpc-pascal] Documentation for sqldb - More Questions

2007-07-03 Thread Martin Schreiber
On Tuesday 03 July 2007 11.36, Michael Van Canneyt wrote: > > Why don't you contribute the database code to the FCL ? This way, everybody > benefits from it. It's non-visual code, so it can perfectly be separated > out. > It depends on the completely rewritten tmsebufdataset, if you want to use the

Re: [fpc-pascal] Documentation for sqldb - More Questions

2007-07-03 Thread Joost van der Sluis
On Tue, 2007-07-03 at 17:55 +1000, John wrote: > I have a basic editable connection working now, but there remain a > number of questions: > > 1) When I tried editing in a dbGrid, I had trouble with the field > length. Looking through the code, I can't see anywhere where the length > of a str

[fpc-pascal] Need to declare FindIntToIdent in Classesh.inc

2007-07-03 Thread zaher dirkey
Hi, I need make this functions founded in classes.inc function FindIntToIdent(AIntegerType: Pointer): TIntToIdent; function FindIdentToInt(AIntegerType: Pointer): TIdentToInt; to be declared in classesh.inc as like as IdentToInt or IntToIdent I need it for my XML RTTI property writer/reader http:

Re: [fpc-pascal] PowerPC crosscompiler on i386 Mac OS X looks for, wrong assembler and linker

2007-07-03 Thread Daniƫl Mantione
Op Tue, 3 Jul 2007, schreef Adriaan van Os: > I am not at all saying that FPC should follow GNU conventions, no, but at > least the rules are clear there. You configure for target, host and build and > then the Makefile takes cares of the rest. If a configuration is not supported > or if there i

Re: [fpc-pascal] PowerPC crosscompiler on i386 Mac OS X looks for, wrong assembler and linker

2007-07-03 Thread Jonas Maebe
On 3 jul 2007, at 09:45, Adriaan van Os wrote: Maybe you have a ~/.fpc.cfg, or an fpc.cfg in the current directory? No, there is only one fpc.cfg on my computer and that's the one in / etc/ Note the spelling of the first file: .fpc.cfg. Anyway, it doesn't matter, see below. By default

Re: [fpc-pascal] Documentation for sqldb - More Questions

2007-07-03 Thread Michael Van Canneyt
On Tue, 3 Jul 2007, Martin Schreiber wrote: > On Tuesday 03 July 2007 09.55, John wrote: > > I have a basic editable connection working now, but there remain a > > number of questions: > > > Have a look on MSEide+MSEgui: > > http://www.homepage.bluewin.ch/msegui/ > > Screenshots: > http://sour

Re: [fpc-pascal] Documentation for sqldb - More Questions

2007-07-03 Thread Martin Schreiber
On Tuesday 03 July 2007 09.55, John wrote: > I have a basic editable connection working now, but there remain a > number of questions: > Have a look on MSEide+MSEgui: http://www.homepage.bluewin.ch/msegui/ Screenshots: http://sourceforge.net/project/screenshots.php?group_id=165409 It has lookup

Re: [fpc-pascal] fpimage BMP and X11 implementation

2007-07-03 Thread Michael Van Canneyt
On Tue, 3 Jul 2007, Graeme Geldenhuys wrote: > Hi, > > I'm trying to implement fpimage support in the fpGUI widget framework. > I'm really confused at the moment. :) The following queries apply > to X11 (xlib) only. My GDI (windows) support will come later. > > My current BMP image implement

Re: [fpc-pascal] Documentation for sqldb - More Questions

2007-07-03 Thread John
I have a basic editable connection working now, but there remain a number of questions: 1) When I tried editing in a dbGrid, I had trouble with the field length. Looking through the code, I can't see anywhere where the length of a string is checked against the length of the field, and longer

[fpc-pascal] PowerPC crosscompiler on i386 Mac OS X looks for, wrong assembler and linker

2007-07-03 Thread Adriaan van Os
A NOTE has been added to this issue. == http://www.freepascal.org/mantis/view.php?id=9201 == Reported By:Adriaan van Os Assigned To:

[fpc-pascal] fpimage BMP and X11 implementation

2007-07-03 Thread Graeme Geldenhuys
Hi, I'm trying to implement fpimage support in the fpGUI widget framework. I'm really confused at the moment. :) The following queries apply to X11 (xlib) only. My GDI (windows) support will come later. My current BMP image implementation (which doesn't use the fpimage unit) has an internal TX

[fpc-pascal] Re: html link extractor

2007-07-03 Thread L
> > Is there a unit somewhere that can extract links from html pages? I want > > to be able to recursively add pages to a chm archive. > > I created a program called GetLinks in a couple minutes: Updated the files and changed the htmlutil functions a bit. Also, created a recursive example that us