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

Re: [fpc-pascal] ARM / SheevaPlug followup

2009-04-14 Thread Henry Vermaak
2009/4/14 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. hmm, accordin

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. ___ f

Re: [fpc-pascal] ARM / SheevaPlug followup

2009-04-14 Thread Henry Vermaak
2009/4/14 Joe Donth : > I think the SheevaPlug is a great opportunity to promote the > use of FPC in an embedded environment. > > 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 Ubuntu. > > I need one of the follow

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, bu

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 sc

[fpc-pascal] ARM / SheevaPlug followup

2009-04-14 Thread Joe Donth
I think the SheevaPlug is a great opportunity to promote the use of FPC in an embedded environment. 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 Ubuntu. I need one of the following three options: 1) Compile and

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 > > c

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 rea

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 : > > >[...] > > > 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 should ch

Re: [fpc-pascal] fpmake dependencies

2009-04-14 Thread Mattias Gärtner
Zitat von Michael Van Canneyt : >[...] > > 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 should change it to tstrings, and say that there should be one > option pe

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 : > > >[...] > > > 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 cre

Re: [fpc-pascal] fpmake dependencies

2009-04-14 Thread Mattias Gärtner
Zitat von Michael Van Canneyt : >[...] > > 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 create them a

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

2009-04-14 Thread Travis Siegel
On Apr 11, 2009, at 5:13 AM, Adam Pahlevi wrote: i don't understand how to do that, i search all my need in Internet, but they all refer to Lazarus. Is there FPC IDE that can run inside Mac OS X I for one have no desire to use lazarius ide, but I would like to use some of the libraries t

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 : > > >[...] > > > > On Tue, 14 Apr 2009, Mattias Gärtner wrote: > > > > > Zitat von Michael Van Canneyt : > > > > > > > > On Tue, 14 Apr 2009, Mattias Gärtner wrote: > > > > > > > > > > I saw that the fpmake progra

Re: [fpc-pascal] fpmake dependencies

2009-04-14 Thread Mattias Gärtner
Zitat von Michael Van Canneyt : >[...] > > On Tue, 14 Apr 2009, Mattias Gärtner wrote: > > > Zitat von 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 > > > > d

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 : > > > > > > > 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/i

Re: [fpc-pascal] fpmake dependencies

2009-04-14 Thread Mattias Gärtner
Zitat von 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 creati

Re: [fpc-pascal] fpmake custom options

2009-04-14 Thread Mattias Gärtner
Zitat von Vincent Snijders : > 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 maillist - fpc-pasca

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 : > > >[...] > > > > > 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. Works fine from here at home. Mi

Re: [fpc-pascal] fpmake custom options

2009-04-14 Thread Vincent Snijders
Mattias Gärtner schreef: Is the tracker online? I can't reach it. I can reach it without problems. Vincent ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] fpmake custom options

2009-04-14 Thread Mattias Gärtner
Zitat von Michael Van Canneyt : >[...] > > > > 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 - fpc-pascal@lists

Re: [fpc-pascal] semaphores?

2009-04-14 Thread Graeme Geldenhuys
On Tue, Apr 14, 2009 at 1:42 PM, Michael Van Canneyt 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 seems that the Windows

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 : > > > > > > > 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 + ' -xyzAnythingY

Re: [fpc-pascal] fpmake custom options

2009-04-14 Thread Mattias Gärtner
Zitat von Michael Van Canneyt : > > > 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 + ' -xyzAnythingYouNeed'; > > > > I tried a simple example: > > T.Options:='-gl -vh'

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 c

Re: [fpc-pascal] fpmake custom options

2009-04-14 Thread Michael Van Canneyt
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 + ' -xyzAnythingYouNeed'; > > I tried a simple example: > T.Options:='-gl -vh'; > > And I got: > Executing command "/usr/local/bin

Re: [fpc-pascal] fpmake unit output directory

2009-04-14 Thread Mattias Gärtner
Zitat von 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. Ok. I thought so looking at the code. I will add that to the wiki. Mattias ___

[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 -Fu/usr/local/lib/fpc/2.2.4/units/

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 http://lists.fre

[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 ___ fpc-pasca

[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

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 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 versions of FPC if

[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 in

Re: [fpc-pascal] semaphores?

2009-04-14 Thread Graeme Geldenhuys
On Mon, Apr 13, 2009 at 11:49 PM, Seth Grover 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 versions of FPC if there is a cross-platform API available. I would be interes