Change 17254 by jhi@alpha on 2002/06/15 20:09:47

        Collect the known AmigaOS wisdom.

Affected files ...

.... //depot/perl/README.amiga#21 edit
.... //depot/perl/hints/amigaos.sh#8 edit

Differences ...

==== //depot/perl/README.amiga#21 (text) ====
Index: perl/README.amiga
--- perl/README.amiga#20~15542~ Tue Mar 26 18:40:33 2002
+++ perl/README.amiga   Sat Jun 15 13:09:47 2002
@@ -6,6 +6,13 @@
 
 perlamiga - Perl under Amiga OS
 
+=head1 NOTE
+
+B<Perl 5.8.0 cannot be built in AmigaOS.  You can use either the
+maintenance release Perl 5.6.1 or the development release Perl 5.7.2
+in AmigaOS.  See L</"PERL 5.8.0 BROKEN IN AMIGAOS"> if you want to help
+fixing this problem.>
+
 =head1 SYNOPSIS
 
 One can read this document in the following formats:
@@ -243,6 +250,21 @@
 Run
 
   make install
+
+=head1 PERL 5.8.0 BROKEN IN AMIGAOS
+
+As told above, Perl 5.6.1 was still good in AmigaOS, as was 5.7.2.
+After Perl 5.7.2 (change #11423, see the Changes file, and the file
+pod/perlhack.pod for how to get the individual changes) Perl dropped
+its internal support for vfork(), and that was very probably the step
+that broke AmigaOS (since the ixemul library has only vfork).  
+The build finally fails when the ext/DynaLoader is being built, and
+PERL ends up as "0" in the produced Makefile, trying to run "0" does
+not quite work.  Also, executing miniperl in backticks seems to
+generate nothing: very probably related to the (v)fork problems.
+B<Fixing the breakage requires someone quite familiar with the ixemul
+library, and how one is supposed to run external commands in AmigaOS
+without fork().>
 
 =head1 AUTHORS
 

==== //depot/perl/hints/amigaos.sh#8 (text) ====
Index: perl/hints/amigaos.sh
--- perl/hints/amigaos.sh#7~15494~      Mon Mar 25 09:46:27 2002
+++ perl/hints/amigaos.sh       Sat Jun 15 13:09:47 2002
@@ -11,7 +11,6 @@
 usemymalloc='n'
 useperlio='true'
 d_eofnblk='define'
-d_fork='define'
 groupstype='int'
 
 # libs
@@ -24,11 +23,12 @@
 # to just these few.  E.g. what about Berkeley DB?
 libswanted='gdbm m dld'
 so=' '
+libs='-lm'
 
 # compiler & linker flags
 # Respect command-line values.
 
-ccflags="$ccflags -DAMIGAOS -mstackextend -Dfork=ix_vfork_resume"
+ccflags="$ccflags -DAMIGAOS"
 case "$optimize" in
 '') optimize='-O2 -fomit-frame-pointer';;
 esac
End of Patch.

Reply via email to