summaryrefslogtreecommitdiff
path: root/hints/os2.sh
diff options
context:
space:
mode:
authorLarry Wall <lwall@scalpel.netlabs.com>1995-11-21 10:01:00 +1200
committerLarry <lwall@scalpel.netlabs.com>1995-11-21 10:01:00 +1200
commit4633a7c4bad06b471d9310620b7fe8ddd158cccd (patch)
tree37ebeb26a64f123784fd8fac6243b124767243b0 /hints/os2.sh
parent8e07c86ebc651fe92eb7e3b25f801f57cfb8dd6f (diff)
downloadperl-4633a7c4bad06b471d9310620b7fe8ddd158cccd.tar.gz
5.002 beta 1
If you're adventurous, have a look at ftp://ftp.sems.com/pub/outgoing/perl5.0/perl5.002beta1.tar.gz Many thanks to Andy for doing the integration. Obviously, if you consult the bugs database, you'll note there are still plenty of buglets that need fixing, and several enhancements that I've intended to put in still haven't made it in (Hi, Tim and Ilya). But I think it'll be pretty stable. And you can start to fiddle around with prototypes (which are, of course, still totally undocumented). Packrats, don't worry too much about readvertising this widely. Nowadays we're on a T1 here, so our bandwidth is okay. Have the appropriate amount of jollity. Larry
Diffstat (limited to 'hints/os2.sh')
-rw-r--r--hints/os2.sh192
1 files changed, 192 insertions, 0 deletions
diff --git a/hints/os2.sh b/hints/os2.sh
new file mode 100644
index 0000000000..55766f7482
--- /dev/null
+++ b/hints/os2.sh
@@ -0,0 +1,192 @@
+# Problems:
+# a) warning from fcntl: Third argument is int in emx - patched
+# b) gr_password is not a structure in struct group - patched
+# c) (gone)
+# d) Makefile needs sh before ./makedir
+# e) (gone)
+# f) (gone)
+# g) (gone)
+# h) (gone)
+# i) (gone)
+# j) the rule true in Makefile should become sh -c true
+# k) Cwd does not work. ===> the extensions cannot be compiled - patched
+# l) TEST expects to get -e 'perl' - patched
+# m) (gone)
+
+# Tests failing with .o compile (this is probably obsolete, but now it is .obj):
+
+# comp/cpp (because of sed above)
+# io/fs.t : (patched) 2..5 7..11 18 (why 11?)
+# io/inplace.t ???? (ak works)
+# io/tell.t 10 ????
+# op/exec.t 1 ???? 4 ????
+# op/glob.t 1 (bug in sh)
+# op/magic.t 4 1/2 (????) adding sleep 5 does not help
+# op/readdir.t 3 (same bug in ksh)
+# op/stat.t 3 4 9 10 20 >34
+
+# Newer results with .obj without i/o optimization, fail:
+
+# io/fs.t : 2+
+# io/pipe.t : 1+
+# io/tell.t : 8, 10
+# op/exec.t : 4, 6 (ok 1 comes as "ok \1")
+# op/fork.t : 1+
+# op/misc.t : 9
+# op/pack.t : 8
+# op/stat.t : 3 4 9 10 20 >34
+# lib/sdbm.t : sdbm store returned -1, errno 0, key "21" at lib/sdbm.t line 112.
+# lib/posix.t : coredump on 3
+
+# If compiled with i/o optimization, then 15% speedup on input, and
+# io/tell.t : 11 only
+# no coredump in posix.t
+
+
+# Note that during the .obj compile you need to move the perl.dll file
+# to LIBPATH :-(
+
+#osname="OS/2"
+sysman=`../UU/loc . /man/man1 /usr/man/man1 c:/man/man1 c:/usr/man/man1`
+cc='gcc'
+usrinc='/emx/include'
+libpth='/emx/lib/st /emx/lib'
+
+so='dll'
+
+# Additional definitions:
+
+d_shrplib='define'
+firstmakefile='GNUmakefile'
+obj_ext='.obj'
+obj_ext_regexp='\.obj'
+lib_ext='.lib'
+ar='emxomfar'
+plibext='.lib'
+exe_ext='.exe'
+archobjs="os2$obj_ext"
+cldlibs=''
+
+libc="/emx/lib/st/c_import$lib_ext"
+
+# otherwise puts -lc ???
+
+libs='-lsocket -lm'
+
+# Run files without extension with sh - feature of patched ksh
+NOHASHBANG=sh
+
+cccdlflags='-Zdll'
+dlsrc='dl_os2.xs'
+lddlflags='-Zdll -Zomf -Zcrtdll'
+ldflags='-Zexe -Zomf -Zcrtdll'
+ld='gcc'
+usedl='define'
+ccflags='-Zomf -DDOSISH -DOS2=2 -DEMBED -I.'
+cppflags='-DDOSISH -DOS2=2 -DEMBED -I.'
+
+# This variables taken from recommended config.sh
+alignbytes='8'
+
+d_fork='undef'
+
+# for speedup: (some patches to ungetc are also needed):
+# Note that without this guy tests 8 and 10 of io/tell.t fail, with it 11 fails
+
+d_stdstdio='define'
+d_stdiobase='define'
+d_stdio_ptr_lval='define'
+d_stdio_cnt_lval='define'
+stdio_ptr='((fp)->ptr)'
+stdio_cnt='((fp)->rcount)'
+stdio_base='((fp)->buffer)'
+stdio_bufsiz='((fp)->rcount + (fp)->ptr - (fp)->buffer)'
+
+
+# I do not have these:
+#dynamic_ext='Fcntl GDBM_File SDBM_File POSIX Socket UPM REXXCALL'
+dynamic_ext='Fcntl POSIX Socket SDBM_File Devel/DProf'
+#extensions='Fcntl GDBM_File SDBM_File POSIX Socket UPM REXXCALL'
+extensions='Fcntl SDBM_File POSIX Socket Devel/DProf'
+
+# To have manpages installed
+echo nroff is "'$nroff'"
+nroff='nroff.cmd'
+_nroff='nroff.cmd'
+echo nroff is "'$nroff'"
+
+# Unknown reasons for:
+#cpio='cpio'
+#csh=''
+#date=''
+#byacc=''
+#d_charsprf='undef'
+#d_drem='undef'
+#d_fmod='define'
+#d_linuxstd='undef'
+#d_socket='define'
+#gcc='gcc'
+#gidtype='gid_t'
+#glibpth='c:/usr/lib/emx h:/emx/lib /emx/lib'
+#groupstype='gid_t'
+#h_fcntl='true'
+#i_time='define'
+#line=''
+#lseektype='off_t'
+#man1ext='1'
+#man3ext='3'
+#modetype='mode_t'
+#more='more'
+#mv='mv'
+#sleep='sleep'
+#socketlib='-lsocket'
+#ssizetype='ssize_t'
+#tar='tar'
+#timetype='time_t'
+#uidtype='uid_t'
+#uname=''
+#uniq=''
+#xlibpth=''
+#yacc='yacc'
+#yaccflags=''
+#zcat='zcat'
+#orderlib='false'
+#pg='pg'
+#pr='pr'
+#ranlib=':'
+
+# Misfound by configure:
+
+#gcc='gcc'
+#more='more'
+#mv='mv'
+#pr='pr'
+#sleep='sleep'
+#tar='tar'
+
+xlibpth=''
+
+# I cannot stand it, but did not test with:
+# d_dirnamlen='undef'
+
+# I try to do without these:
+
+#d_pwage='undef'
+#d_pwcomment='undef'
+
+ln='cp'
+lns='cp'
+
+# ????
+#mallocobj=''
+#mallocsrc=''
+#usemymalloc='false'
+
+nm_opt='-p'
+
+# The next two are commented. pdksh handles #!
+# sharpbang='extproc '
+# shsharp='false'
+
+# Commented:
+#startsh='extproc ksh\\n#! sh'