Problems with ld, libc, and "struct stat"

Jan Behrens jbe-mlist at magnetkern.de
Wed Oct 16 12:42:48 UTC 2019


On Wed, 16 Oct 2019 22:45:10 +1100
MJ <mafsys1234 at gmail.com> wrote:

> This explains it succinctly:
> 
> https://www.cprogramming.com/tutorial/shared-libraries-linux-gcc.html
> (apart from the linux-isms)
> 
> Also this, in more detail:
> http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html
> 
> Cheers
> Mark

Thank you for the links (didn't see your message before I was posting
the previous one). I'll look into that.

They are referring to gcc and not clang, so I hope it works the same
with clang. I still would like to find some authoritative documentation
on the "-shared" option of clang (and not gcc), but maybe that
documentation simply doesn't exist.

Thanks again for the links, Regards
Jan


More information about the freebsd-questions mailing list