Re: [fpc-pascal] FPC static linking of zlib

2010-04-14 Thread Micha Nelissen
Michael Van Canneyt wrote: libz.so.1 = /lib/libz.so.1 (0x7f6de2801000) As you can see, it uses libz (or zlib) but dynamically, probably through some library dependency. I think this dynamic library dependency is caused by e.g. gtk, not directly by application or lcl or fcl

Re: [fpc-pascal] FPC static linking of zlib

2010-04-14 Thread Michael Van Canneyt
On Wed, 14 Apr 2010, Micha Nelissen wrote: Michael Van Canneyt wrote: libz.so.1 = /lib/libz.so.1 (0x7f6de2801000) As you can see, it uses libz (or zlib) but dynamically, probably through some library dependency. I think this dynamic library dependency is caused by e.g. gtk,

[fpc-pascal] Wanted: permanent or contract developers for a new project

2010-04-14 Thread Graeme Geldenhuys
Hi, The company I work for is called Master Maths. We are a franchise business and based in South Africa. We primarily produce computer based training for Maths and Science, and have been in business since 1976. Our Head Office has a staff complement of just over 30 people, and we are located in

Re: [fpc-pascal] Wanted: permanent or contract developers for a new project

2010-04-14 Thread dmitry boyarintsev
Graeme you can also place the offer here: http://forum.lazarus.freepascal.org/index.php/board,41.0.html thanks, Dmitry ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] how to bind the following c code ?

2010-04-14 Thread ik
Hello, I'm trying to add missing Pango functions to both Lazarus and FPC for BiDi support, and I have encountered the following function: PangoDirection pango_unichar_direction (gunichar ch) G_GNUC_CONST; I do not understand the G_GNUC_CONST part, does anyone here know what it suppose

Re: [fpc-pascal] Wanted: permanent or contract developers for a new project

2010-04-14 Thread Graeme Geldenhuys
On 14 April 2010 11:38, dmitry boyarintsev wrote: Graeme you can also place the offer here: http://forum.lazarus.freepascal.org/index.php/board,41.0.html Thanks Dmitry, I'll do so now. -- Regards, - Graeme - ___ fpGUI - a cross-platform Free

Re: [fpc-pascal] how to bind the following c code ?

2010-04-14 Thread dmitry boyarintsev
On Wed, Apr 14, 2010 at 1:38 PM, ik ido...@gmail.com wrote: I do not understand the G_GNUC_CONST part, does anyone here know what it suppose to be ? It's C define. I suspect it would be some GNU-C attribute, that in the end won't be used by Pascal in anyway. You need to find the definition of

Re: [fpc-pascal] how to bind the following c code ?

2010-04-14 Thread Henry Vermaak
On 14 April 2010 10:38, ik ido...@gmail.com wrote: Hello, I'm trying to add missing Pango functions to both Lazarus and FPC for BiDi support, and I have encountered the following function: PangoDirection pango_unichar_direction  (gunichar ch) G_GNUC_CONST; I do not understand the

[fpc-pascal] Initializing a record-type variable to get rid of the false-positive compiler hint

2010-04-14 Thread Bihar Anwar
I still need compiler hint generated by FPC at compiling (I don't want to turn it off), but the hint sometime disturbs me because it's a false-postive detection. Supposing I have a record-type variable, could someone here tell me how to initialize it properly so that FPC could notice the

[fpc-pascal] GLES Apps on Android

2010-04-14 Thread lyh1 rcc
I google the web and saw FPC can cross compile to Android. Whave GLES header for FPC too, so we have chance to build multimedia applications without the Android NDK? An other question is I cant find the steps to cross compile to Android ,is it just as simple as I create a arm-linux project in

Re: [fpc-pascal] Initializing a record-type variable to get rid of the false-positive compiler hint

2010-04-14 Thread José Mejuto
Hello FPC-Pascal, Wednesday, April 14, 2010, 5:13:51 PM, you wrote: BA Supposing I have a record-type variable, could someone here BA tell me how to initialize it properly so that FPC could notice the BA initialization, since the FillByte() and FillChar() way do not BA cause FPC aware of it?

[fpc-pascal] compilation verbosity

2010-04-14 Thread Seth Grover
fpc doesn't seem to respect the -v,X flags for me. I'm compiling a shared object library (on an Ubuntu Linux 64-bit platform cross-compiling to 32-bit) and I've tried -ve, -vew, -v0, but I still get hints. Anyone else experience this? -SG -- This email is fiction. Any resemblance to actual

[fpc-pascal] Re: compilation verbosity

2010-04-14 Thread Seth Grover
Sorry, not sure what happened on the first line of that email, I meant the -v flag described in the fpc help as -vx Be verbose. x is a combination of the following letters:.. -SG -- This email is fiction. Any resemblance to actual events or persons living or dead is purely coincidental. Seth

Re: [fpc-pascal] compilation verbosity

2010-04-14 Thread Jonas Maebe
On 15 Apr 2010, at 00:17, Seth Grover wrote: I'm compiling a shared object library (on an Ubuntu Linux 64-bit platform cross-compiling to 32-bit) and I've tried -ve, -vew, -v0, but I still get hints. Maybe the source code contains {$hints on} Jonas

[fpc-pascal] Re: compilation verbosity

2010-04-14 Thread Seth Grover
Maybe the source code contains {$hints on} Jonas Ah, why didn't I think of that. I had a function and I was doing something like: {$HINTS OFF} my function here {$HINTS ON} but in my mind for some reason I was thinking this would mean turn hints back on only if they were on before. Of course

[fpc-pascal] ICS

2010-04-14 Thread ed...@clanhay
The reason is mainly that I have used it for a ling time with delphi and I am used to it. No other reason really. I did manage to get it working though. On 10 April 2010 16:36, ed...@clanhay ed...@clanhay.dnsalias.com wrote: I am trying to setup an FTP client using the ICS tFTPClient but

Re: [fpc-pascal] Initializing a record-type variable to get rid of the false-positive compiler hint

2010-04-14 Thread Bihar Anwar
Thanks for your reply José, but what is the philosophy behind the solution? and What are the reasons for $PUSH and $POP? Also, I tried to remove the $HINTS directive, and it worked fine without it. Could you explain this? - Original Message From: José Mejuto joshy...@gmail.com