Re: [fpc-pascal] D-Bus. Non blocking listening for signals

2011-01-16 Thread dibo20
I found another way to register own callback events (this is example which connect to Pidgin instant messenger): var VTable: DBusObjectPathVTable; function MessageHandler(connection: PDBusConnection; message_: PDBusMessage; user_data: Pointer): DBusHandlerResult; cdecl; begin MemoLog.Lines.Add

Re: [fpc-pascal] FPC 2.x for old Solaris

2011-01-16 Thread Mark Morgan Lloyd
Mark Morgan Lloyd wrote: Thanks for that, noted for next time :-) The solution turned out to be fairly easy: the Solaris compiler uses dynamic libraries since some (libm) don't exist in static form on 10 and others (libmd5 etc.) don't exist in static form at all. Taking ppcsparc from 10 and ru

Re: [fpc-pascal] command for Linux for me to create fp ?

2011-01-16 Thread Tomas Hajny
On 16 Jan 11, at 17:36, Mark Morgan Lloyd wrote: > Pew (piffle.the.cat) wrote: > > On 01/17/2011 03:59 AM, Mark Morgan Lloyd wrote: > > >> Peter, I do not claim to be an experienced builder and I usually work > >> from a source release (currently 2.4.2) rather than from SVN so your > >> mileage ma

Re: [fpc-pascal] command for Linux for me to create fp ?

2011-01-16 Thread Mark Morgan Lloyd
Pew (piffle.the.cat) wrote: On 01/17/2011 03:59 AM, Mark Morgan Lloyd wrote: Peter, I do not claim to be an experienced builder and I usually work from a source release (currently 2.4.2) rather than from SVN so your mileage may vary. You will need the standard Linux binary utilities (as, ar,

Re: [fpc-pascal] command for Linux for me to create fp ?

2011-01-16 Thread Tomas Hajny
On 17 Jan 11, at 4:27, Pew (piffle.the.cat) wrote: > Hi Robert, > > On 01/17/2011 03:59 AM, Mark Morgan Lloyd wrote: > > Robert Wolfe wrote: > >> On 01/16/2011 11:03 AM, Pew (piffle.the.cat) wrote: > >>> Hi all, > >>> > >>> I am trying to build fp from 3.5.1 snapshot and I don't know what the > >

Re: [fpc-pascal] command for Linux for me to create fp ?

2011-01-16 Thread Pew (piffle.the.cat)
Hi Robert, On 01/17/2011 03:59 AM, Mark Morgan Lloyd wrote: Robert Wolfe wrote: On 01/16/2011 11:03 AM, Pew (piffle.the.cat) wrote: Hi all, I am trying to build fp from 3.5.1 snapshot and I don't know what the command is. I have downloaded fpc-2.5.1.i386-linux.tar.gz and extracted to /juni/f

Re: [fpc-pascal] command for Linux for me to create fp ?

2011-01-16 Thread Mark Morgan Lloyd
Robert Wolfe wrote: On 01/16/2011 11:03 AM, Pew (piffle.the.cat) wrote: Hi all, I am trying to build fp from 3.5.1 snapshot and I don't know what the command is. I have downloaded fpc-2.5.1.i386-linux.tar.gz and extracted to /juni/fpc and downloaded fpcbuild.zip and extracted to /juni/3.5.1

Re: [fpc-pascal] command for Linux for me to create fp ?

2011-01-16 Thread Robert Wolfe
On 01/16/2011 11:03 AM, Pew (piffle.the.cat) wrote: Hi all, I am trying to build fp from 3.5.1 snapshot and I don't know what the command is. I have downloaded fpc-2.5.1.i386-linux.tar.gz and extracted to /juni/fpc and downloaded fpcbuild.zip and extracted to /juni/3.5.1/. I cannot find an

[fpc-pascal] command for Linux for me to create fp ?

2011-01-16 Thread Pew (piffle.the.cat)
Hi all, I am trying to build fp from 3.5.1 snapshot and I don't know what the command is. I have downloaded fpc-2.5.1.i386-linux.tar.gz and extracted to /juni/fpc and downloaded fpcbuild.zip and extracted to /juni/3.5.1/. I cannot find any instructions on how I can build fp from the source.

[fpc-pascal] Re: Building kernel modules using fpc (for fun)

2011-01-16 Thread Lukasz Sokol
Paul Breneman writes: > This looks *very* interesting. I'd like to add it (with *big* red flags > and notes not to try it on a production PC) to this page: >http://www.turbocontrol.com/helloworld.htm Yes please, you're welcome :) from my side no contradictions - you may like to talk to th

Re: [fpc-pascal] Converting .doc and/or .html to .pdf

2011-01-16 Thread Marcos Douglas
On Sat, Jan 15, 2011 at 7:39 PM, Andreas Schneider wrote: > On Saturday, January 15, 2011 22:18 Marcos Douglas wrote: >> Hi, >> There are libs, in Pascal,  to convert .doc and/or .html files to .pdf? > > I   don't   think   so,   but  I  would  suggest  to  use  a  headless > OpenOffice.org/LibreO

[fpc-pascal] Re: Building kernel modules using fpc (for fun)

2011-01-16 Thread Lukasz Sokol
Lukasz Sokol writes: I have posted http://pastebin.com/rM5GKB1q which is the new version of http://pastebin.com/9D9ye7Pt. This contains all 4 files needed for compilation, also moved the {$LINK } to the kernel_module.pas (and also the printk() declaration moved there; Added some of my touch to

State of FPC target Native NT kernel mode (was: Re: [fpc-pascal] Re: Building kernel modules using fpc (for fun))

2011-01-16 Thread Sven Barth
On 16.01.2011 04:39, Paul Breneman wrote: Sven Barth wrote: On 15.01.2011 21:10, Lukasz Sokol wrote: Henry Vermaak writes: On 15 January 2011 19:48, Sven Barth wrote: I might not be able to help you regarding this topic, but I believe that you'll get a wall of "use C, god damnit" if you ask