Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Oct 2019 14:33:05 +0200
From:      David Demelier <markand@malikania.fr>
To:        freebsd-questions@freebsd.org
Subject:   Re: Problems with ld, libc, and "struct stat"
Message-ID:  <0b9d2d5c-6f50-e8fb-e881-8f1e46395edd@malikania.fr>
In-Reply-To: <20191016142529.cf8a589e1e9db6d30ea303a4@magnetkern.de>
References:  <20191015204400.e33c8f62af711e829288ddae@magnetkern.de> <47c27361-4e74-05d1-3343-e39526730d85@malikania.fr> <20191016131552.6fda34292987e22ae78072cc@magnetkern.de> <0f1c70a0-c99a-e494-cf63-d214301f24a1@malikania.fr> <20191016142529.cf8a589e1e9db6d30ea303a4@magnetkern.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Le 16/10/2019 à 14:25, Jan Behrens a écrit :
> Can I rely on "-shared" being available also in future versions of
> clang/cc? Or is this a deprecated "gcc compatibility" option?

Of course you can. It's there since decades and won't vanish. There is 
absolutely no reasons. As it has it's -static counterpart as well.

> Building shared libraries is an important feature, so I'm a bit
> surprised there is no documentation on on the "cc -shared" invocation
> (other than GCC's documentation), or maybe I'm just looking at the
> wrong places? Maybe you or someone else knows where else could I find
> any documentation on this?

I don't know, but LLVM projects documentation always have been a bit 
anaemic.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0b9d2d5c-6f50-e8fb-e881-8f1e46395edd>