[fpc-pascal] Ugly exception during compilation FPC 2.3.1 MacOS X 10.5 PowerPC

Jonas Maebe jonas.maebe at elis.ugent.be
Tue Jul 22 12:35:37 CEST 2008


On 22 Jul 2008, at 11:13, Mattias Gaertner wrote:

> The Lineinfo unit does not work currently under Mac OS X.

The lineinfo unit does work under Mac OS X (but only for stabs  
currently). Depending on the used system version, it may also only  
work if you start the program with the full path, because paramstr(0)  
is not guaranteed to contain the full path to the binary (as for why,  
see http://lists.apple.com/archives/darwin-kernel/2004/Jul/ 
msg00058.html ; and note that those arguments hold equally well for  
any *nix, so in general it's a bad idea to rely on paramstr(0) being a  
valid full path to some existing file).


Jonas



More information about the fpc-pascal mailing list