* compiling libraries
@ 2001-12-04 23:56 Michael Gauckler
2001-12-05 11:28 ` jwk
0 siblings, 1 reply; 2+ messages in thread
From: Michael Gauckler @ 2001-12-04 23:56 UTC (permalink / raw)
I compiled the "target junior" vision libraries (which work fine on
Sun/Solaris)
on a alpha running linux.
When I run a testprogram that just includes the libraries (wihtout calling
them)
I get the runtime error "floating exception":
~/targetjr-4.1.1/IUPackages/Numerics/math/math.h:107
107 inline float huge_val(float) { return (float)HUGE_VAL; }
Is there anything I have to consider when compiling libraries concerning the
alpha's
64 bit nature?
How can libraries that are linked but never called cause runtime errors?
Thank you for your help!
- Michael
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: compiling libraries
2001-12-04 23:56 compiling libraries Michael Gauckler
@ 2001-12-05 11:28 ` jwk
0 siblings, 0 replies; 2+ messages in thread
From: jwk @ 2001-12-05 11:28 UTC (permalink / raw)
On Wed, 5 Dec 2001 00:56:03 +0100, Michael Gauckler
<mgauckle@ee.ethz.ch.nospam> wrote:
>
> Is there anything I have to consider when compiling libraries concerning the
> alpha's
> 64 bit nature?
>
I've heard it said passing -mieee will often help (when compiling the
libraries), it will force some floating point handling to be correct in
all cases, at the cost of speed.
Good luck,
Jurriaan
--
THIS time it really is fixed. I mean, how many times can we
get it wrong? At some point, we just have to run out of really
bad ideas..
Linus Torvalds
GNU/Linux 2.4.17-pre2 on Debian/Alpha 64-bits 988 bogomips load:0.18 0.33 0.32
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-12-05 11:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-04 23:56 compiling libraries Michael Gauckler
2001-12-05 11:28 ` jwk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox