From owner-mint@fishpool.com  Thu May  8 13:45:27 2003
To: Martin Tarenskeen <m.tarenskeen@zonnet.nl>
Cc: MiNT Mailing List <mint@fishpool.com>
Subject: Re: [MiNT] math.h with(out) -m68020-60
X-Yow: Is it NOUVELLE CUISINE when 3 olives are struggling with a scallop
 in a plate of SAUCE MORNAY?
From: Andreas Schwab <schwab@suse.de>
Date: Thu, 08 May 2003 13:36:20 +0200
In-Reply-To: <Pine.MNT.4.31.0305081248370.172-100000@UNI_MANiac> (Martin
 Tarenskeen's message of "Thu, 8 May 2003 12:55:58 +0200 (CEST)")
Message-ID: <je65olwtzf.fsf@sykes.suse.de>
User-Agent: Gnus/5.090018 (Oort Gnus v0.18) Emacs/21.3.50 (gnu/linux)
References: <Pine.MNT.4.31.0305081248370.172-100000@UNI_MANiac>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Delivered-To: mint@fishpool.com
Delivered-To: mint@lists.fishpool.fi
X-ecartis-version: Ecartis v1.0.0
Sender: mint-bounce@lists.fishpool.fi
Errors-to: mint-bounce@lists.fishpool.fi
X-original-sender: schwab@suse.de
Precedence: bulk
List-help: <mailto:ecartis@lists.fishpool.fi?Subject=help>
List-unsubscribe: <mailto:mint-request@lists.fishpool.fi?Subject=unsubscribe>
List-ID: <mint.lists.fishpool.fi>
X-List-ID: <mint.lists.fishpool.fi>

Martin Tarenskeen <m.tarenskeen@zonnet.nl> writes:

|> Hi,
|> 
|> Why can't I compile code that has an "#include <math.h>", unless I enable
|> the -m68020-60 option ? Without that compiler option I keep getting
|> messages like:
|> 
|> 	undefined reference to `sqrt'

You didn't link in the math library.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


