This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
integrate changes#2978,2979 from mainline
[perl5.git] / README.beos
CommitLineData
c4f23d77
AD
1Notes on building perl under BeOS:
2
3GENERAL ISSUES
4--------------
4a34ea11 5how to compile perl:
c4f23d77 6
4a34ea11 7To compile perl under BeOS R4 x86:
c4f23d77 8
4a34ea11
TS
9`./Configure -d` and hit ^C when it asks you if you want to make changes
10to config.sh;
c4f23d77 11
4a34ea11
TS
12edit config.sh and do the following:
13change d_socket='define' to ='undef';
14remove SDBM, Errno, and Socket from dynamic_ext= and nonxs_ext=;
c4f23d77 15
4a34ea11 16add '#define bool short' to x2p/a2p.h;
c4f23d77 17
4a34ea11 18../Configure -S; make; make install
c4f23d77 19
4a34ea11
TS
20cd ~/config/lib; ln -s 5.00502/BeOS-BePC/CORE/libperl.so .
21(substitute 5.00502 with the appropriate filename)
c4f23d77 22
4a34ea11
TS
23OS RELEASE-SPECIFIC NOTES
24-------------------------
25R4 x86 - dynamic loading finally works! Yay! This means you can compile
26your own modules into perl. However, Sockets and Errno still don't work.
27(Hopefully, sockets will at least work by R5, if not sooner.)
c4f23d77 28
4a34ea11
TS
29R4 PPC - I have not tested this. I rather severely doubt that dynamic
30loading will work. (My BeBox is in pieces right now, following a nasty
31disk crash.) You may have to disable dynamic loading to get the thing
32to compile at all. (use `./Configure` without -d, and say 'no' to
33'Build a shared libperl.so'.)
c4f23d77
AD
34
35CONTACT INFORMATION
36-------------------
37If you have comments, problem reports, or even patches or bugfixes (gasp!)
38please email me.
39
4a34ea11 4028 Jan 1999
c4f23d77 41Tom Spindler
4a34ea11 42dogcow@isi.net
c4f23d77 43