Re: [fpc-pascal] How to use fpcmake

2009-04-14 Thread Graeme Geldenhuys
Hi Guillermo, I struggled with it as well. Henry Vermaak then created an example for me and showed how to use it. The example he did was for the fpGUI Toolkit project. Usage: - Compile fpmake.pas as follows: fpc fpmake.pas - To find out more about what fpmake can do

[fpc-pascal] Re: How I can install FPC IDE in MacOS

2009-04-14 Thread Schindler Karl-Michael
Hi, Adam Pahlevi wrote: Is there FPC IDE that can run inside Mac OS X is there, how to install and compile or build or any stuff like that, that I may run? You can install fpc using fink (command: fink install fpc). The stable tree of fink has fpc 2.2.2; 2.2.4 is in the unstable tree. I

Re: [fpc-pascal] semaphores?

2009-04-14 Thread Michael Van Canneyt
On Tue, 14 Apr 2009, Graeme Geldenhuys wrote: On Mon, Apr 13, 2009 at 11:49 PM, Seth Grover sethdgro...@gmail.com wrote: Is there not a cross-platform semaphore API in Free Pascal? I planned About 4 years ago there wasn't, so I had to use IFDEF's in my code. I haven't looked in newer

[fpc-pascal] fpmake unit output directory

2009-04-14 Thread Mattias Gärtner
How can I change the unit output directory in fpmake? Mattias ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] fpmake dependencies

2009-04-14 Thread Mattias Gärtner
I saw that the fpmake programs of the fpc sources contain the unit/include file dependencies. Why? (fpc finds the unit/include file dependencies automatically.) Is there a tool to create them automatically? Can I use file masks? Mattias ___

Re: [fpc-pascal] fpmake unit output directory

2009-04-14 Thread Michael Van Canneyt
On Tue, 14 Apr 2009, Mattias Gärtner wrote: How can I change the unit output directory in fpmake? You are not supposed to do so. You can only set the install dir. Michael.___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

[fpc-pascal] fpmake custom options

2009-04-14 Thread Mattias Gärtner
How to add custom options? The wiki of fpmake gives: T.Options:= '-dSOMEDEFINE'; T.Options:= T.Options + ' -xyzAnythingYouNeed'; I tried a simple example: T.Options:='-gl -vh'; And I got: Executing command /usr/local/bin/fpc -Tdarwin -FUunits/i386-darwin

Re: [fpc-pascal] fpmake dependencies

2009-04-14 Thread Michael Van Canneyt
On Tue, 14 Apr 2009, Mattias Gärtner wrote: I saw that the fpmake programs of the fpc sources contain the unit/include file dependencies. Why? (fpc finds the unit/include file dependencies automatically.) For the zip archive creation. All files are needed. Is there a tool to create

Re: [fpc-pascal] fpmake unit output directory

2009-04-14 Thread Mattias Gärtner
Zitat von Michael Van Canneyt mich...@freepascal.org: On Tue, 14 Apr 2009, Mattias Gärtner wrote: How can I change the unit output directory in fpmake? You are not supposed to do so. You can only set the install dir. Ok. I thought so looking at the code. I will add that to the wiki.

Re: [fpc-pascal] fpmake custom options

2009-04-14 Thread Michael Van Canneyt
On Tue, 14 Apr 2009, Mattias Gärtner wrote: Zitat von Michael Van Canneyt mich...@freepascal.org: On Tue, 14 Apr 2009, Mattias Gärtner wrote: How to add custom options? The wiki of fpmake gives: T.Options:= '-dSOMEDEFINE'; T.Options:= T.Options + '

Re: [fpc-pascal] semaphores?

2009-04-14 Thread Graeme Geldenhuys
On Tue, Apr 14, 2009 at 1:42 PM, Michael Van Canneyt mich...@freepascal.org wrote: Use GetThreadManager() to retrieve the thread manager, and then simply use the various functions. Umm, I didn't know that... I made a note for future reference. :-) This should work cross-platform, but it

Re: [fpc-pascal] fpmake custom options

2009-04-14 Thread Mattias Gärtner
Zitat von Michael Van Canneyt mich...@freepascal.org: [...] I tried a simple example: T.Options:='-gl -vh'; [...] Please do, that way it won't be forgotten. Is the tracker online? I can't reach it. Mattias ___ fpc-pascal maillist -

Re: [fpc-pascal] fpmake custom options

2009-04-14 Thread Mattias Gärtner
Zitat von Vincent Snijders vsnijd...@vodafonevast.nl: Mattias Gärtner schreef: Is the tracker online? I can't reach it. I can reach it without problems. I can reach it only every third reload. I created the bug report. Mattias ___ fpc-pascal

Re: [fpc-pascal] fpmake dependencies

2009-04-14 Thread Mattias Gärtner
Zitat von Michael Van Canneyt mich...@freepascal.org: On Tue, 14 Apr 2009, Mattias Gärtner wrote: I saw that the fpmake programs of the fpc sources contain the unit/include file dependencies. Why? (fpc finds the unit/include file dependencies automatically.) For the zip archive

Re: [fpc-pascal] fpmake dependencies

2009-04-14 Thread Mattias Gärtner
Zitat von Michael Van Canneyt mich...@freepascal.org: [...] On Tue, 14 Apr 2009, Mattias Gärtner wrote: Zitat von Michael Van Canneyt mich...@freepascal.org: On Tue, 14 Apr 2009, Mattias Gärtner wrote: I saw that the fpmake programs of the fpc sources contain the

Re: [fpc-pascal] fpmake dependencies

2009-04-14 Thread Michael Van Canneyt
On Tue, 14 Apr 2009, Mattias Gärtner wrote: Zitat von Michael Van Canneyt mich...@freepascal.org: [...] On Tue, 14 Apr 2009, Mattias Gärtner wrote: Zitat von Michael Van Canneyt mich...@freepascal.org: On Tue, 14 Apr 2009, Mattias Gärtner wrote: I saw that the

Re: [fpc-pascal] fpmake dependencies

2009-04-14 Thread Mattias Gärtner
Zitat von Michael Van Canneyt mich...@freepascal.org: [...] Hint: File units/i386-darwin/allcodetoolunits.o was already deleted It should maybe be reduced to a debug message, just to see what the clean command is actually trying to do. I created a bug report. Is there a tool to

Re: [fpc-pascal] fpmake dependencies

2009-04-14 Thread Michael Van Canneyt
On Tue, 14 Apr 2009, Mattias Gärtner wrote: Zitat von Michael Van Canneyt mich...@freepascal.org: [...] The single parameter Options is a show stopper for the LCL, because I use often flags like -gh plus a few -d flags for the experimental features. I understand. Maybe we

Re: [fpc-pascal] fpmake dependencies

2009-04-14 Thread Peter Vreman
Is there a tool to create them automatically? Not yet. This is planned. Come on. You didn't add the 14 thousand filenames manually, did you? The unit source names were added from the Makefile.fpc (there is a conversion mode) but the rest was added manually. I realize that for the

Re: [fpc-pascal] fpmake dependencies

2009-04-14 Thread Michael Van Canneyt
On Tue, 14 Apr 2009, Peter Vreman wrote: Is there a tool to create them automatically? Not yet. This is planned. Come on. You didn't add the 14 thousand filenames manually, did you? The unit source names were added from the Makefile.fpc (there is a conversion mode) but

Re: [fpc-pascal] fpmake dependencies

2009-04-14 Thread Marco van de Voort
In our previous episode, Peter Vreman said: The unit source names were added from the Makefile.fpc (there is a conversion mode) but the rest was added manually. I realize that for the LCL, this will be a rather largish job :-) Most packages ppudump output with a sed script was used

Re: [fpc-pascal] How I can install FPC IDE in MacOS

2009-04-14 Thread Schindler Karl-Michael
On Apr 14, 2009, at 09:17:33, Travis Siegel wrote: I for one have no desire to use lazarius ide, but I would like to use some of the libraries that come with it. I however, have been completely unsuccessful in getting the lazarius environment to build properly on osx. It is supposed to work,

Re: [fpc-pascal] ARM / SheevaPlug followup

2009-04-14 Thread Henry Vermaak
2009/4/14 Joe Donth jdo...@donth.com: sales pitch I think the SheevaPlug is a great opportunity to promote the use of FPC in an embedded environment./sales pitch I need to figure out how to compile a non-GUI FPC program (helloworld.pp) to run on a SheevaPlug (ARM926EJ-S rev 1 (v5l) )under

Re: [fpc-pascal] ARM / SheevaPlug followup

2009-04-14 Thread Florian Klaempfl
Henry Vermaak schrieb: first you need to get fpc to work, which means that you might have to build an eabi compiler, since most distros (even debian) now use eabi (the default arm fpc is oabi). Well, not really. Debian stable is still oabi. ___

Re: [fpc-pascal] ARM / SheevaPlug followup

2009-04-14 Thread Henry Vermaak
2009/4/14 Florian Klaempfl flor...@freepascal.org: Henry Vermaak schrieb: first you need to get fpc to work, which means that you might have to build an eabi compiler, since most distros (even debian) now use eabi (the default arm fpc is oabi). Well, not really. Debian stable is still oabi.

Re: [fpc-pascal] ARM / SheevaPlug followup

2009-04-14 Thread Prince Riley
It would seem that its probably best we take some time and try to spec out, test, and the publish the steps to follow since I've been interested in a port like this as well. Can we use the steps followed to port PFC to the MacOS hardware platform when it was non-Intel? Should be be looking at a