From owner-freebsd-questions@FreeBSD.ORG Fri Apr 20 20:01:42 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6052016A400 for ; Fri, 20 Apr 2007 20:01:42 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from mail-out4.apple.com (mail-out4.apple.com [17.254.13.23]) by mx1.freebsd.org (Postfix) with ESMTP id 4910013C45A for ; Fri, 20 Apr 2007 20:01:42 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from relay5.apple.com (a17-128-113-35.apple.com [17.128.113.35]) by mail-out4.apple.com (8.13.8/8.13.8) with ESMTP id l3KK1gv1014745; Fri, 20 Apr 2007 13:01:42 -0700 (PDT) Received: from relay5.apple.com (unknown [127.0.0.1]) by relay5.apple.com (Symantec Mail Security) with ESMTP id 0057529C002; Fri, 20 Apr 2007 13:01:41 -0700 (PDT) X-AuditID: 11807123-9e3e6bb000000b42-16-46291c2581da Received: from [17.214.13.96] (cswiger1.apple.com [17.214.13.96]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by relay5.apple.com (Apple SCV relay) with ESMTP id E224D30400B; Fri, 20 Apr 2007 13:01:41 -0700 (PDT) In-Reply-To: <46290FB4.3040007@gmail.com> References: <46290FB4.3040007@gmail.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <7D66F88B-3739-4910-A393-8569E613803A@mac.com> Content-Transfer-Encoding: 7bit From: Chuck Swiger Date: Fri, 20 Apr 2007 13:01:40 -0700 To: "Hyo geol, Lee" X-Mailer: Apple Mail (2.752.2) X-Brightmail-Tracker: AAAAAA== Cc: freebsd-questions@freebsd.org Subject: Re: Linking error with __float128 conversions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Apr 2007 20:01:42 -0000 On Apr 20, 2007, at 12:08 PM, Hyo geol, Lee wrote: > I had problem in linking error with __float128 conversion functions. I > am using FreeBSD/amd64 -current and test code is below. [ ... ] > When I build above code, I got linking error. Is this just unsupported > functions or something missing in header or linking options? Error > message is below. I don't see any reference to float128 in the BSD header files, so it is probably unsupported. It might be the case that you can use "long double" or perhaps the Apache Harmony header files here: http://harmony.apache.org/subcomponents/drlvm/doxygen/vmcore/html/ structFLOAT128.html ...to build your own float128 struct. The GNU MP library might also be useful. -- -Chuck