Subject: Re: best way to change -static?
To: Georg Schwarz <>
From: Lubomir Sedlacik <>
List: tech-pkg
Date: 02/16/2004 14:46:07
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable


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?

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

     -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:


-- Lubomir Sedlacik <>                   --
--                  <>                   --

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.2.4 (NetBSD)