Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Oct 1996 12:33:01 -0400 (EDT)
From:      Keith Mitchell <kmitch@unix.guru.org>
To:        bde@zeta.org.au (Bruce Evans)
Cc:        current@freebsd.org
Subject:   Re: Weirdness in current
Message-ID:  <199610171633.MAA17938@unix.guru.org>
In-Reply-To: <199610171616.CAA01871@godzilla.zeta.org.au> from Bruce Evans at "Oct 18, 96 02:16:15 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> >> > Ok.  Here's an update.  I just did a make world from a 10-16 current.
> >> > The dynamic linking now appears to work correctly using the math library
> >> > by default.
> >> 
> >> Are you saying the math library is brought in even if you don't
> >> explicitly ask for it?
> >
> >Yes.  It did that in 2.10R, 2.15R, -stable, and now again in -current.  I
> >have no idea why though.  The program doesn't use any of the functions in
> >the math library directly.  And, without the math library the program 
> 
> Then it must use it indirectly :-).  libstdc++ references a lot of math
> functions.  This is handled by always linking libm for normal invocations
> of c++ (look at the c++ -v output).

Forgive me, I am somewhat naive when it comes to the interworkings of the
linker, but if it needed the library and didn't get it would it not just
have unresolved references and not compile?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610171633.MAA17938>