[fpc-pascal] Xcode access to fpc documentation

Ken G. Brown kbrown at mac.com
Tue Jan 27 14:10:06 CET 2009

Aha! That's why the unix find of FPCMacOSAll did not find anything either! It's not there anymore.
That clears up a couple mysteries for me.
   Ken G. Brown

At 9:05 AM +0100 1/27/09, fpc-pascal-request at lists.freepascal.org apparently wrote:
>Date: Tue, 27 Jan 2009 09:42:00 +0200
>From: Jonas Maebe <jonas.maebe at elis.ugent.be>
>Subject: Re: [fpc-pascal] Xcode access to fpc documentation
>To: FPC-Pascal users discussions <fpc-pascal at lists.freepascal.org>
>Message-ID: <963AC7C8-1313-46AC-A81F-F2ECBFB7DA7A at elis.ugent.be>
>Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>On 27 Jan 2009, at 00:55, Ken G. Brown wrote:
>> Is there a way to add the fpc documentation so that Xcode help can 
>> access it like the docsets?
>Not that I know.
>> In the MacOS fpc 2.2.2 download, in the MainUnit.pas of the FPC-C-C+
>> +CarbonApplication template for new projects, there is a typo 
>> causing it to not compile.
>> The ) after $endif should be }.
>Thanks for reporting this, I'm not sure how I missed that. It's still 
>there in 2.2.4rc1, I'll fix it for the final 2.2.4 release.
>> As well, the way the code is commented out causes both MacOSAll and 
>> FPCMacOSAll to be used. Are they both necessary?
>No, only MacOSAll is. See http://wiki.freepascal.org/User_Changes_2.2.2#FPCMacOSAll_unit
>  for more information.
>> Where are MacOSAll and FPCMacOSAll supposed to be located? At the 
>> moment Spotlight does not find them for me.
>The unit is located at /usr/local/lib/fpc/2.2.2/units/i386-darwin/
>univint/MacOSAll.ppu (or powerpc-darwin in case you're on ppc). The 
>reason that you didn't find it with Spotlight, is that it does not 
>show files under /usr by default (because you seldom want to find 
>files there, as only command line applications put things there). You 
>can either use the command line interface to spotlight (mdfind 
>MacOSAll), or change the settings of the GUI one to also include 
>"system files").
>That said, this unit (just like all others) is only distributed in 
>compiled form with the installer, so it's not going to be very useful 
>to you. If you want the sources, you can download them here: http://www.freepascal.org/down/source/sources.var

More information about the fpc-pascal mailing list