Zitat von Jonas Maebe <jonas.maebe@elis.ugent.be>:

>
> 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).

Ah.

This means: either lineinfo and a lot of linker warnings on each compile XOR no
lineinfo and no warnings, right?

dwarf is the future, isn't it?
What is needed to get lineinfo working with dwarf?


> 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).


Mattias


