RE : RE : [fpc-devel] Getting fpc to work on Solaris (11)

2011-07-12 Thread Ludo Brands
Can't find any reference to a -sol2 suffix even looking at (SPARC) Solaris 8. For that matter I can't find it in the FPC sources, except very obtusely referring to a version of gcc. Has install put something suspect in fpc.cfg? This is pure ld. Nothing to do with fpc. When ld is

Re: RE : RE : [fpc-devel] Getting fpc to work on Solaris (11)

2011-07-12 Thread Mark Morgan Lloyd
Ludo Brands wrote: Can't find any reference to a -sol2 suffix even looking at (SPARC) Solaris 8. For that matter I can't find it in the FPC sources, except very obtusely referring to a version of gcc. Has install put something suspect in fpc.cfg? This is pure ld. Nothing to do with fpc.

RE : RE : RE : [fpc-devel] Getting fpc to work on Solaris (11)

2011-07-12 Thread Ludo Brands
One thing I don't understand is whether there's any scope for the computer type that's optionally fed to binutils's ./configure to appear in the final programs (ld for Solaris etc.). I definitely see references to sol2 as the final part of this parameter in config.sub which I believe

RE : RE : RE : [fpc-devel] MySQL 5.1 and Double (trouble)

2011-07-12 Thread Ludo Brands
May be, that this can be fixed in sqldb.pp in function TSQLConnection.GetAsSQLText(Param: TParam) : string; ... -ftFloat: Result := FloatToStr(Param.AsFloat, FSQLFormatSettings); +ftFloat: Result := FloatToStrF(extended(Param.AsFloat), ffGeneral, 16, 0, FSQLFormatSettings);

Re: RE : RE : RE : [fpc-devel] MySQL 5.1 and Double (trouble)

2011-07-12 Thread Hans-Peter Diettrich
Ludo Brands schrieb: But that won't solve the writing of truncated data as long as doubles are passed as a string to mysql. Right. When the actual DB interface doesn't allow to transfer floating point values as binary numbers, you should fall back to storing such numbers as text, with the

Re: RE : RE : RE : [fpc-devel] Getting fpc to work on Solaris (11)

2011-07-12 Thread Mark Morgan Lloyd
Ludo Brands wrote: One thing I don't understand is whether there's any scope for the computer type that's optionally fed to binutils's ./configure to appear in the final programs (ld for Solaris etc.). I definitely see references to sol2 as the final part of this parameter in config.sub

RE : RE : RE : RE : [fpc-devel] Getting fpc to work on Solaris (11)

2011-07-12 Thread Ludo Brands
Yes, but you can also do e.g. $ ./configure --prefix=/usr/local/mipsel-linux mipsel-linux-gnu and what I was wondering was whether the final portion of the parameter could, in some cases, leak into the binaries e.g. into ld's embedded script, resulting in the sort of problem that

Re: RE : RE : RE : [fpc-devel] MySQL 5.1 and Double (trouble)

2011-07-12 Thread Marco van de Voort
In our previous episode, Ludo Brands said: But that won't solve the writing of truncated data as long as doubles are passed as a string to mysql. Moreover, it is x86(_64) only. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org

Re: RE : RE : RE : RE : [fpc-devel] MySQL 5.1 and Double (trouble)

2011-07-12 Thread Marco van de Voort
In our previous episode, Michael Van Canneyt said: that is sent to the db and TConnectionName.PrepareStatement doesn't send anything to the db. The Oracle component fe. uses bindings. So does Firebird, and I think postgres, but I'm not sure about the latter. As far as I can see, postgres

[fpc-devel] TfpHttpClient events

2011-07-12 Thread Leonardo M . Ramé
I'm using TFpHttpClient for retrieving data from an http server. I'm wondering if anyone is planning to add events to it, such as OnProgress or similar.  Thanks in advance, Leonardo M. Ramé http://leonardorame.blogspot.com___ fpc-devel maillist -