pro64-support
[Top] [All Lists]

Re: C++ inlining problem with 0.01.0-10 + update.0828

To: Michael Murphy <mpm@xxxxxxxxxxxxxxxxx>
Subject: Re: C++ inlining problem with 0.01.0-10 + update.0828
From: Dan Pop <Dan.Pop@xxxxxxx>
Date: Wed, 30 Aug 2000 01:53:04 +0200 (MET DST)
Cc: pro64-support@xxxxxxxxxxx, "Ross A. Towle" <rat@xxxxxxxxxxxxxxxxxxx>, Sverre Jarp <Sverre.Jarp@xxxxxxx>
In-reply-to: <200008292327.QAA06551@rohi.engr.sgi.com>
Sender: owner-pro64-support@xxxxxxxxxxx

On Tue, 29 Aug 2000, Michael Murphy wrote:

>       From: "Ross A. Towle" <rat@cchkms>
>       
>       Add -lm to your command line to link in the math library routines.  
> This is
>       needed for c and c++ programs.

Thanks for the advice.

The confusing thing is that -lm is not needed without -O or with g++
at any optimisation level.  Had I gotten any linking errors about
sin and cos (both used in the code), the -lm fix would have been
obvious.

Best regards,
Dan Pop


<Prev in Thread] Current Thread [Next in Thread>