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
Jonas
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal