Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Apr 2007 13:01:40 -0700
From:      Chuck Swiger <cswiger@mac.com>
To:        "Hyo geol, Lee" <hyogeollee@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Linking error with __float128 conversions
Message-ID:  <7D66F88B-3739-4910-A393-8569E613803A@mac.com>
In-Reply-To: <46290FB4.3040007@gmail.com>
References:  <46290FB4.3040007@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7D66F88B-3739-4910-A393-8569E613803A>