Re[2]: [fpc-pascal] How to build .so with FPC and use it in C program?

2009-01-14 Thread KES
Hello, Jonas. 11 dec 2008 г., 14:17:21: was wrote JM> On 11 Dec 2008, at 13:14, Graeme Geldenhuys wrote: >> On Thu, Dec 11, 2008 at 1:46 PM, Jonas Maebe > > wrote: >>> How to build .so with FPC and use it in C program on FreeBSD platform? >>> >>> FPC cannot build dynamic libraries o

Re: [fpc-pascal] heap size growing

2009-01-14 Thread Jonas Maebe
On 14 Jan 2009, at 13:02, Burkhard Carstens wrote: Am Mittwoch, 14. Januar 2009 04:50 schrieb Seth Grover: I had the same problem. You could try to enable "BESTMATCH" in the heap manager by either compiling the rtl with "-dBESTMATCH" or changing "{ define BESTMATCH}" to "{$define BESTMATCH

[fpc-pascal] Re: heap size growing

2009-01-14 Thread Seth Grover
> I had the same problem. Burkhard, Thank you very much. This sounds very similar to the problem I'm seeing. I'll try compiling the RTL how you suggested to see if it fixes my problem, and if not I'll have to do a similar thing and create my own pools for this specific structure. -SG =

Re: [fpc-pascal] Debian Linux, BinUtils, FPC question

2009-01-14 Thread Jonas Maebe
On 14 Jan 2009, at 17:16, Andrew Brunner wrote: I'm trying to get more information on how FPC uses BinUtils under Debian flavored linux. By default, only for linking (unless you use -a, -al, ... or -Aas etc). Jonas ___ fpc-pascal maillist - fpc

Re: [fpc-pascal] Debian Linux, BinUtils, FPC question

2009-01-14 Thread Marco van de Voort
In our previous episode, Andrew Brunner said: > > I'm trying to get more information on how FPC uses BinUtils under > Debian flavored linux. Any help would be greatly appreciated. Use -al to see the generated source, use -s to stop before linking, and examine how the linker is called (ppas.sh) _

[fpc-pascal] Debian Linux, BinUtils, FPC question

2009-01-14 Thread Andrew Brunner
Hi there, I'm trying to get more information on how FPC uses BinUtils under Debian flavored linux. Any help would be greatly appreciated. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] csLoading and Create

2009-01-14 Thread Martin Friebe
Michael Van Canneyt wrote: On Wed, 14 Jan 2009, Martin Friebe wrote: Hi, If a component is loaded from a stream, then csLoading is set in ComponentState (or so I thought I understood the concept) So in my component i do "if not(csLoading in componentState)" ... However I found this does no

Re: [fpc-pascal] csLoading and Create

2009-01-14 Thread Michael Van Canneyt
On Wed, 14 Jan 2009, Martin Friebe wrote: > Hi, > > If a component is loaded from a stream, then csLoading is set in > ComponentState (or so I thought I understood the concept) > So in my component i do "if not(csLoading in componentState)" ... > > However I found this does not work in the co

Re: [fpc-pascal] SQL show tables

2009-01-14 Thread David B Copeland
On Tue, 2009-01-13 at 10:37 +, Martin Friebe wrote: > > > If you (the original poster) uses Mysql 5 or up, then "Show tables" is > not needed. Use the information-schema instead > > SELECT table_name FROM INFORMATION_SCHEMA.TABLES WHERE table_schema = > '/|db_name|/' > Yes, I tried t

[fpc-pascal] csLoading and Create

2009-01-14 Thread Martin Friebe
Hi, If a component is loaded from a stream, then csLoading is set in ComponentState (or so I thought I understood the concept) So in my component i do "if not(csLoading in componentState)" ... However I found this does not work in the constructor Create. csLoading is only set *after* the Co

[fpc-pascal] TLS connection using OpenSSL

2009-01-14 Thread Evandro Sestrem
Hello, In FreePascal, how is the right way to do a connection using OpenSSL like: openssl s_client -tls1 -connect beta.registro.br:700 -cert client.pem I tried using Synapse (http://ararat.cz/synapse/), but without success (I didn't know how inform the client.pem file). Thanks in advance, E

Re: [fpc-pascal] heap size growing

2009-01-14 Thread Burkhard Carstens
Am Mittwoch, 14. Januar 2009 04:50 schrieb Seth Grover: > I've got a fairly large system (originally written in Delphi, then > moved to Kylix, and now finally in FPC 2.2.2) which is doing a lot of > different things. Various threads are running which execute reports, > communiate with other devices