This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
patch to remove assumptions about offset of IV being == sizeof(XPV)
[perl5.git] / README.beos
1 $Id: README.beos,v 1.2 1998/05/02 01:55:04 dogcow Exp dogcow $
2
3 Notes on building perl under BeOS:
4
5 GENERAL ISSUES
6 --------------
7 perl will almost compile straight out of the box with ./Configure -d, but
8 there are a few gotchas:
9
10 Currently, you have to edit config.sh and remove SDBM_File from the
11 dynamic_ext= and extensions= lines. SDBM_File does not build properly
12 at this time. You need to run ./Configure -S after editing config.sh.
13
14 In addition, with mwcc, after doing `make depend`, you need to edit
15 makefile and x2p/makefile and remove the lines that mention 'Bletch:'.
16 This is not necessary if you're using gnu cpp.
17
18 in short:
19 ./Configure -d
20 remove SDBM_File from config.sh
21 ./Configure -S
22 make depend
23 remove Bletch: from makefile and x2p/makefile
24 make
25
26 Other than that, perl should build without problems. There are some
27 technical comments in hints/beos.sh.
28
29 OS RELEASE-SPECIFIC NOTES
30 -------------------------
31
32 PR1/PPC:
33 See R3/X86. Same bug, different form.
34
35 PR2/PPC:
36 Signals are somewhat unreliable, but they can work. Use caution.
37 The POSIX module is still somewhat buggy.
38
39 R3/X86:
40 Under R3 x86, there are some serious problems with the math routines
41 such that numbers are incorrectly printed. This causes problems with
42 modules that encode their version numbers - in particular, IO.pm will
43 probably not work properly. This should be fixed under R3.1.
44
45 The problem has manifested itself if you see something similar to the
46 following during the compile:
47
48 cc -c  -I/usr/local/include -O    -DVERSION=\"1.1504\" -DXS_VERSION=\"1.1499999999\" -fpic -I../..  IO.c
49 (lots of 9's are the indication of the problem.)
50
51 In the meantime, you can use the following workaround:
52
53 make perl
54 cd ext/IO
55 cc -c  -I/usr/local/include -O    -DVERSION=\"1.1504\" -DXS_VERSION=\"1.15\" -fpic -I../..  IO.c
56 cd ..
57 make
58
59 (Substitute the correct numbers if IO has been updated.)
60
61 R3/PPC-
62 There's math problems, but of a different kind. In particular,
63 perl -e 'print (240000 - (3e4<<3))' gives a non-zero answer.
64 I'm looking into this. There is no workaround as yet. Hopefully,
65 this will be fixed in R3.1.
66
67 CONTACT INFORMATION
68 -------------------
69 If you have comments, problem reports, or even patches or bugfixes (gasp!)
70 please email me.
71
72 1 May 1998
73 Tom Spindler
74 dogcow@merit.edu
75