On Fri, Jul 19, 2013 at 08:05:13AM +0200, Mattias Gaertner wrote:
> You can grep for linklib directives in the sources.
> And you can use the ppudump tool on all .ppu files and grep for c_r.

Afaik this won't work fool proof. It will work if there is a {$linklib c_r},
but it is also possible that a {$linklib pthreads} was changed to c_r by
 -Xf.  (which is equal to -XLApthreads=c_r )

The c_r/pthreads substitution, like the library substitution system it uses
(-XLA, XLO) operates on the list of static libs just before linking,
generating a new list.

IOW in the ppu, the names are the same as the linklib, and not necessarily
the same as passed to the linker.


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to