Clang '-g' unused warnings in FreeBSD (linking)

Jakub Lach jakub_lach at mailplus.pl
Sun Jul 15 19:04:36 UTC 2012


Thanks, both replies were very informative!

Regarding

> one could argue that passing '-g' to the link stage is nonsensical, 
> since ld cannot add debug information, it can only remove it (via the '-s'
> flag).

Is precisely why I was asking If this was conscious decision on FreeBSD 
part.

--
View this message in context: http://freebsd.1045724.n5.nabble.com/Clang-g-unused-warnings-in-FreeBSD-linking-tp5727055p5727113.html
Sent from the freebsd-hackers mailing list archive at Nabble.com.


More information about the freebsd-hackers mailing list