Leopold Toetsch (via RT) wrote:

# New Ticket Created by Leopold Toetsch # Please include the string: [perl #18782]
# in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=18782 >
As no one complained (or answered) I have checked in long double support for i386.

To test this, compile a perl 5.8.0 with long double support:

rm -f config.sh Policy.sh
sh Configure -Dprefix=/opt/perl-ld -Duselongdouble
make
make test
make install

After this, parrots "perl Configure.pl" defaults to long double. To use 8 byte doubles again you can run "perl Configure.pl --floatval=double".

Test results (also with JIT)

Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/src/sprintf.t 1 256 2 1 50.00% 1

Here is myconfig:
Summary of my parrot 0.0.8 configuration:
configdate='Thu Dec 12 10:09:52 2002'
Platform:
osname=linux, archname=i686-linux-ld
jitcapable=1, jitarchname=i386-linux,
jitosname=linux, jitcpuarch=i386
perl=/opt/perl-ld/bin/perl
Compiler:
cc='cc', ccflags='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g',
Linker and Libraries:
ld='cc', ldflags=' -L/usr/local/lib ',
cc_ldflags='',
libs='-lnsl -ldl -lm -lposix -lcrypt -lutil'
Dynamic Linking:
so='.so', ld_shared='-shared -L/usr/local/lib',
ld_shared_flags=''
Types:
iv=long, intvalsize=4, intsize=4, opcode_t=long, opcode_t_size=4,
ptrsize=4, ptr_alignment=1 byteorder=1234,
nv=long double, numvalsize=12, doublesize=8

Success (only ;-) messages for other i386 system welcome.
(The format char %Lf in format.pl might need adjustment for different compilers)

leo



Reply via email to