X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f X-Recipient: djgpp-workers AT delorie DOT com Message-ID: <50F306BD.2090504@iki.fi> Date: Sun, 13 Jan 2013 21:10:53 +0200 From: Andris Pavenis User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: djgpp-workers AT delorie DOT com Subject: gmp-5.1.0 and DJGPP Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Failed to build gmp-5.1.0 due to absence of function trunc(). Unless one is willing to do real implementation I would suggest trivial implementation like double trunc(double x) { return x >= 0 ? floor(x) : -floor(-x); } It could possibly be inline Andris