Re: [fpc-pascal] Alternative to Makefiles for fpGUI

2007-08-10 Thread Darius Blaszijk
Johann Glaser wrote: Is there any documentation (like the things you've written in this thread) in the Wiki? If not, I'd like to copy-paste (and clean up) your discussion. Please point me to a place where the information best fits. I was also thinking the same ;) . I've created a stub here: h

[fpc-pascal] FreePascal TDataSet

2007-08-10 Thread Leonardo M. Ram
One of my customers asked me if I can recompile a Delphi application that uses TDataSet descendants. Can someone tell me if FPC's TDataSet implementation is compatible with Delphi's?, or I must rewrite the whole application?. Thanks in advance. Leonardo M. Ramé http://leonardorame.blogspot.com

Re: [fpc-pascal] Alternative to Makefiles for fpGUI

2007-08-10 Thread Johann Glaser
Hi! Am Freitag, den 10.08.2007, 15:24 +0200 schrieb Michael Van Canneyt: > > On Fri, 10 Aug 2007, Graeme Geldenhuys wrote: > > > On 10/08/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > > > > It's super configurable. > > > > > > ./fpmake --help > > > > > > will give you all options, in

Re: [fpc-pascal] converting flexcel to fpc

2007-08-10 Thread Florian Klaempfl
Bisma Jayadi schrieb: >> In that case, did you adapt the libgsf-1.so library name, or specify >> the directory where it can be found ? > > I'd had installed the required libs as mentioned in the source files and > also the related libs as well. I believe I had specified the path too. > But, maybe

Re: [fpc-pascal] converting flexcel to fpc

2007-08-10 Thread Bisma Jayadi
In that case, did you adapt the libgsf-1.so library name, or specify the directory where it can be found ? I'd had installed the required libs as mentioned in the source files and also the related libs as well. I believe I had specified the path too. But, maybe I have to make sure this again.

Re: [fpc-pascal] converting flexcel to fpc

2007-08-10 Thread Bisma Jayadi
Thanks for the code. What example were you trying to compile? Didn't you create a package file for the component? Just give me a startingpoint No, I didn't do that far (create a package). Just to make sure first the component will be compiled by FPC 2.0.4. Sorry, I forgot to give you the exam

Re: [fpc-pascal] converting flexcel to fpc

2007-08-10 Thread Michael Van Canneyt
On Fri, 10 Aug 2007, Bisma Jayadi wrote: > > If you are referring to the treetron component, > > http://treetron.googlepages.com/ > > No, it's not. > > > then you misunderstand it's design. > > I know. > > > It's not going to work, since at the core of it is a binary library which > > uses >

Re: [fpc-pascal] converting flexcel to fpc

2007-08-10 Thread Bisma Jayadi
If you are referring to the treetron component, http://treetron.googlepages.com/ No, it's not. then you misunderstand it's design. I know. It's not going to work, since at the core of it is a binary library which uses the TMS component. Presumably FPC does not find the library, hence the l

Re: [fpc-pascal] converting flexcel to fpc

2007-08-10 Thread Michael Van Canneyt
On Fri, 10 Aug 2007, Bisma Jayadi wrote: > Hi all, > > I'm now trying to compile FlexCel v.2.5.3 (latest open source version before > it's bought by TMS) using FPC v.2.0.4 on Linux (Kubuntu 6.10 Feitsy). After > adding IFDEFs here and there, finally FPC is able to compile it. But, I don't > kno

Re: [fpc-pascal] converting flexcel to fpc

2007-08-10 Thread Bisma Jayadi
I'm now trying to compile FlexCel v.2.5.3 (latest open source version before it's bought by TMS) using FPC v.2.0.4 on Linux (Kubuntu 6.10 Feitsy). After adding IFDEFs here and there, finally FPC is able to compile it. But, I don't know why FPC fails to linking program (to executable) that uses

[fpc-pascal] converting flexcel to fpc

2007-08-10 Thread Bisma Jayadi
Hi all, I'm now trying to compile FlexCel v.2.5.3 (latest open source version before it's bought by TMS) using FPC v.2.0.4 on Linux (Kubuntu 6.10 Feitsy). After adding IFDEFs here and there, finally FPC is able to compile it. But, I don't know why FPC fails to linking program (to executable) t

Re: [fpc-pascal] Alternative to Makefiles for fpGUI

2007-08-10 Thread Peter Vreman
>> The idea is that you do a >> >> fppkg >> >> this will look in a database for the package, extract it, >> and the compile fpmake.pp and run it. The fpmake contains >> all configuration to make and zip the package. >> > Aha, this clears up some mist in my mind. But I still don't really > understa

Re: [fpc-pascal] Alternative to Makefiles for fpGUI

2007-08-10 Thread Michael Van Canneyt
On Fri, 10 Aug 2007, Graeme Geldenhuys wrote: > On 10/08/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > > It's super configurable. > > > > ./fpmake --help > > > > will give you all options, in good unix tradition :-) > > And here I thought I would trip you up with my fpGUI example. :)

Re: [fpc-pascal] Alternative to Makefiles for fpGUI

2007-08-10 Thread Graeme Geldenhuys
On 10/08/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > It's super configurable. > > ./fpmake --help > > will give you all options, in good unix tradition :-) And here I thought I would trip you up with my fpGUI example. :) Excellent work and thanks for the clear example code. Regards,

Re: [fpc-pascal] Alternative to Makefiles for fpGUI

2007-08-10 Thread Michael Van Canneyt
On Fri, 10 Aug 2007, Graeme Geldenhuys wrote: > On 10/08/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > T:=Targets.AddUnit('myunit'); > > T.ResourceStrings:=True; > > T:=Targets.AddUnit('myprogram'); > > T.AddDependency('myunit'); > > Does this take directories as wel

Re: [fpc-pascal] Alternative to Makefiles for fpGUI

2007-08-10 Thread Michael Van Canneyt
On Fri, 10 Aug 2007, Darius Blaszijk wrote: > Hi Michael, > > Michael Van Canneyt wrote: > > The idea is that you do a > > > > fppkg > > > > this will look in a database for the package, extract it, and the compile > > fpmake.pp and run it. The fpmake contains > > all configuration to make an

Re: [fpc-pascal] Alternative to Makefiles for fpGUI

2007-08-10 Thread Graeme Geldenhuys
On 10/08/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > T:=Targets.AddUnit('myunit'); > T.ResourceStrings:=True; > T:=Targets.AddUnit('myprogram'); > T.AddDependency('myunit'); Does this take directories as well? Here is a fpGUI layout example: Windows: src/corelib/gdi/g

Re: [fpc-pascal] Newbie, Delphi porting: Which are standard Units?

2007-08-10 Thread memsom
> uses > Classes, Standard. > Sysutils, Standard. > U_Global, L_Lockdata, U_Strings, U_RegExpr, L_Wintol, U_Images, > U_Stream, U_Tiff, U_Tiff_Tags, U_Tiff_Global, U_Pixels, L_Mathe, > U_Wininfo Custom looks fairly "in house" too. I assume U stands for Unit and L stands for Libra

Re: [fpc-pascal] Newbie, Delphi porting: Which are standard Units?

2007-08-10 Thread Marco van de Voort
> sorry for asking such a total newbie question, but I have some > (apparently) Delphi code and I my goal is to examine if it is feasible > to port this to Mac OS X. > > Now, it lists a lot of units, and google is not very helpful. So my > question is: Are these standard Delphi units? No.

[fpc-pascal] Newbie, Delphi porting: Which are standard Units?

2007-08-10 Thread Alexander v. Below
Hello, sorry for asking such a total newbie question, but I have some (apparently) Delphi code and I my goal is to examine if it is feasible to port this to Mac OS X. Now, it lists a lot of units, and google is not very helpful. So my question is: Are these standard Delphi units? Third pa

Re: [fpc-pascal] Alternative to Makefiles for fpGUI

2007-08-10 Thread Darius Blaszijk
Hi Michael, Michael Van Canneyt wrote: The idea is that you do a fppkg this will look in a database for the package, extract it, and the compile fpmake.pp and run it. The fpmake contains all configuration to make and zip the package. Aha, this clears up some mist in my mind. But I still

Re: [fpc-pascal] Alternative to Makefiles for fpGUI

2007-08-10 Thread Graeme Geldenhuys
Thanks for the quick response Michael. I'll have a look at those files shortly. Graeme. On 10/08/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > The upcoming 2.2 will contain the basics for a package system. > Look at all directories in the fpc source dirs. You'll find there > a fpmake.

Re: [fpc-pascal] Alternative to Makefiles for fpGUI

2007-08-10 Thread Michael Van Canneyt
On Fri, 10 Aug 2007, Graeme Geldenhuys wrote: > Hi, > > I heard somewhere in a list that Makefile's are on the way out (for > FPC) and a alternative is in the pipeline. Can anybody shed some > light on this and if the alternative is usable yet? > > I want FPC developers without Lazarus to be

[fpc-pascal] Alternative to Makefiles for fpGUI

2007-08-10 Thread Graeme Geldenhuys
Hi, I heard somewhere in a list that Makefile's are on the way out (for FPC) and a alternative is in the pipeline. Can anybody shed some light on this and if the alternative is usable yet? I want FPC developers without Lazarus to be able to compile fpGUI. Before, I tried to use Makefiles, but my