From: <Rap...@po...> - 2014-04-07 22:09:18
|
Quoting Jake Goerzen <jgo...@op...> from ml.softs.gtk-gnutella.devel: :OK here are the results for both CPU architecture's SPARC and x86: : :Solaris 10 x86 : :% ./bar :ascii_le #0: 105 (i) 115 (s) 73 (I) 69 (E) :ascii_le #1: 69 (E) 69 (E) 55 (7) 53 (5) :ascii_le #2: 52 (4) 83 (S) 121 (y) 115 (s) :ascii_le #3: 0 (?) 0 (?) 0 (?) 0 (?) :ascii_be #0: 101 (e) 105 (i) 83 (S) 73 (I) :ascii_be #1: 53 (5) 55 (7) 101 (e) 101 (e) :ascii_be #2: 115 (s) 121 (y) 83 (S) 52 (4) :ascii_be #3: 0 (?) 0 (?) 0 (?) 0 (?) : :Solaris 10 sparc : :% ./bar :ascii_le #0: 69 (E) 73 (I) 115 (s) 105 (i) :ascii_le #1: 53 (5) 55 (7) 69 (E) 69 (E) :ascii_le #2: 115 (s) 121 (y) 83 (S) 52 (4) :ascii_le #3: 0 (?) 0 (?) 0 (?) 0 (?) :ascii_be #0: 73 (I) 83 (S) 105 (i) 101 (e) :ascii_be #1: 101 (e) 101 (e) 55 (7) 53 (5) :ascii_be #2: 52 (4) 83 (S) 121 (y) 115 (s) :ascii_be #3: 0 (?) 0 (?) 0 (?) 0 (?) That's funny, because this is exactly what is expected :-) OK, so let's figure out why Configure cannot detect this blatant IEEE support... What does grep ISieee754Sys bar output on the SPARC? If you look carefully at the floating point representation of the ascii_be[] array, you'll see they form the ASCII letters: I S i e e e 7 5 4 S y s \0 And that's the "string" that should be present in the binary. If grep says it's there, can you try with: make bar.o grep ISieee754Sys bar.o The latter is the test done by Configure. Raphael |