Subject: Re: best way to change -static?
To: Georg Schwarz <geos@epost.de>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: tech-pkg
Date: 02/16/2004 14:46:07
--xXmbgvnjoT4axfJE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
hi,
On Mon, Feb 16, 2004 at 12:04:33AM +0100, Georg Schwarz wrote:
> pkgsrc/shells/static-bash2/Makefile uses -static for LDFLAGS. Can this
> be rewritten by buildlink3?
> IRIX 5.3 needs -B static instead. What would be the best way to
> change this?
see pkgsrc/mk/buildlink3/mipspro-cc-post-*
> What flag does IRIX 6.X use?
http://techpubs.sgi.com/library/tpl/cgi-bin/getdoc.cgi?coll=3D0650&db=3Dman=
&fname=3D/usr/share/catman/u_man/cat1/ld.z
Symbol Resolution and Input Search Path
For a complete list of elements that affect runtime DSO search and
lookup, as well as dynamic symbol resolution, see the rld(5) man page.
The following linker options affects symbol resolution and object
specification:
-B mode Specifies a search mode. mode can be dynamic, static,
direct, or symbolic.
dynamic (default). ld searches each directory specified in
the library search path for files ending in .so,
and if not available then files ending in .a.
static ld selects only the files ending in .a (except for
libc). If a link with static libraries is needed,
but not all of the needed .a files are available,
use the following:
regards,
--=20
-- Lubomir Sedlacik <salo@Xtrmntr.org> --
-- <salo@silcnet.org> --
--xXmbgvnjoT4axfJE
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)
iD8DBQFAMMmeiwjDDlS8cmMRAnBFAKCH39fPtkWGI9JwjigEH/DhC0H0QwCfdhz2
+UXVTVynMSmI8qwFpj5Wb+8=
=ZHnL
-----END PGP SIGNATURE-----
--xXmbgvnjoT4axfJE--