Commit | Line | Data |
4633a7c4 |
1 | # Problems: |
2 | # a) warning from fcntl: Third argument is int in emx - patched |
3 | # b) gr_password is not a structure in struct group - patched |
4 | # c) (gone) |
5 | # d) Makefile needs sh before ./makedir |
6 | # e) (gone) |
7 | # f) (gone) |
8 | # g) (gone) |
9 | # h) (gone) |
10 | # i) (gone) |
11 | # j) the rule true in Makefile should become sh -c true |
12 | # k) Cwd does not work. ===> the extensions cannot be compiled - patched |
13 | # l) TEST expects to get -e 'perl' - patched |
14 | # m) (gone) |
15 | |
16 | # Tests failing with .o compile (this is probably obsolete, but now it is .obj): |
17 | |
18 | # comp/cpp (because of sed above) |
19 | # io/fs.t : (patched) 2..5 7..11 18 (why 11?) |
20 | # io/inplace.t ???? (ak works) |
21 | # io/tell.t 10 ???? |
22 | # op/exec.t 1 ???? 4 ???? |
23 | # op/glob.t 1 (bug in sh) |
24 | # op/magic.t 4 1/2 (????) adding sleep 5 does not help |
25 | # op/readdir.t 3 (same bug in ksh) |
26 | # op/stat.t 3 4 9 10 20 >34 |
27 | |
28 | # Newer results with .obj without i/o optimization, fail: |
29 | |
30 | # io/fs.t : 2+ |
31 | # io/pipe.t : 1+ |
32 | # io/tell.t : 8, 10 |
33 | # op/exec.t : 4, 6 (ok 1 comes as "ok \1") |
34 | # op/fork.t : 1+ |
35 | # op/misc.t : 9 |
36 | # op/pack.t : 8 |
37 | # op/stat.t : 3 4 9 10 20 >34 |
38 | # lib/sdbm.t : sdbm store returned -1, errno 0, key "21" at lib/sdbm.t line 112. |
39 | # lib/posix.t : coredump on 3 |
40 | |
41 | # If compiled with i/o optimization, then 15% speedup on input, and |
42 | # io/tell.t : 11 only |
43 | # no coredump in posix.t |
44 | |
45 | |
46 | # Note that during the .obj compile you need to move the perl.dll file |
47 | # to LIBPATH :-( |
48 | |
49 | #osname="OS/2" |
50 | sysman=`../UU/loc . /man/man1 /usr/man/man1 c:/man/man1 c:/usr/man/man1` |
51 | cc='gcc' |
52 | usrinc='/emx/include' |
53 | libpth='/emx/lib/st /emx/lib' |
54 | |
55 | so='dll' |
56 | |
57 | # Additional definitions: |
58 | |
59 | d_shrplib='define' |
60 | firstmakefile='GNUmakefile' |
61 | obj_ext='.obj' |
62 | obj_ext_regexp='\.obj' |
63 | lib_ext='.lib' |
64 | ar='emxomfar' |
65 | plibext='.lib' |
66 | exe_ext='.exe' |
67 | archobjs="os2$obj_ext" |
68 | cldlibs='' |
69 | |
70 | libc="/emx/lib/st/c_import$lib_ext" |
71 | |
72 | # otherwise puts -lc ??? |
73 | |
74 | libs='-lsocket -lm' |
75 | |
76 | # Run files without extension with sh - feature of patched ksh |
77 | NOHASHBANG=sh |
78 | |
79 | cccdlflags='-Zdll' |
80 | dlsrc='dl_os2.xs' |
81 | lddlflags='-Zdll -Zomf -Zcrtdll' |
82 | ldflags='-Zexe -Zomf -Zcrtdll' |
83 | ld='gcc' |
84 | usedl='define' |
85 | ccflags='-Zomf -DDOSISH -DOS2=2 -DEMBED -I.' |
86 | cppflags='-DDOSISH -DOS2=2 -DEMBED -I.' |
87 | |
88 | # This variables taken from recommended config.sh |
89 | alignbytes='8' |
90 | |
91 | d_fork='undef' |
92 | |
93 | # for speedup: (some patches to ungetc are also needed): |
94 | # Note that without this guy tests 8 and 10 of io/tell.t fail, with it 11 fails |
95 | |
96 | d_stdstdio='define' |
97 | d_stdiobase='define' |
98 | d_stdio_ptr_lval='define' |
99 | d_stdio_cnt_lval='define' |
100 | stdio_ptr='((fp)->ptr)' |
101 | stdio_cnt='((fp)->rcount)' |
102 | stdio_base='((fp)->buffer)' |
103 | stdio_bufsiz='((fp)->rcount + (fp)->ptr - (fp)->buffer)' |
104 | |
105 | |
106 | # I do not have these: |
107 | #dynamic_ext='Fcntl GDBM_File SDBM_File POSIX Socket UPM REXXCALL' |
108 | dynamic_ext='Fcntl POSIX Socket SDBM_File Devel/DProf' |
109 | #extensions='Fcntl GDBM_File SDBM_File POSIX Socket UPM REXXCALL' |
110 | extensions='Fcntl SDBM_File POSIX Socket Devel/DProf' |
111 | |
112 | # To have manpages installed |
113 | echo nroff is "'$nroff'" |
114 | nroff='nroff.cmd' |
115 | _nroff='nroff.cmd' |
116 | echo nroff is "'$nroff'" |
117 | |
118 | # Unknown reasons for: |
119 | #cpio='cpio' |
120 | #csh='' |
121 | #date='' |
122 | #byacc='' |
123 | #d_charsprf='undef' |
124 | #d_drem='undef' |
125 | #d_fmod='define' |
126 | #d_linuxstd='undef' |
127 | #d_socket='define' |
128 | #gcc='gcc' |
129 | #gidtype='gid_t' |
130 | #glibpth='c:/usr/lib/emx h:/emx/lib /emx/lib' |
131 | #groupstype='gid_t' |
132 | #h_fcntl='true' |
133 | #i_time='define' |
134 | #line='' |
135 | #lseektype='off_t' |
136 | #man1ext='1' |
137 | #man3ext='3' |
138 | #modetype='mode_t' |
139 | #more='more' |
140 | #mv='mv' |
141 | #sleep='sleep' |
142 | #socketlib='-lsocket' |
143 | #ssizetype='ssize_t' |
144 | #tar='tar' |
145 | #timetype='time_t' |
146 | #uidtype='uid_t' |
147 | #uname='' |
148 | #uniq='' |
149 | #xlibpth='' |
150 | #yacc='yacc' |
151 | #yaccflags='' |
152 | #zcat='zcat' |
153 | #orderlib='false' |
154 | #pg='pg' |
155 | #pr='pr' |
156 | #ranlib=':' |
157 | |
158 | # Misfound by configure: |
159 | |
160 | #gcc='gcc' |
161 | #more='more' |
162 | #mv='mv' |
163 | #pr='pr' |
164 | #sleep='sleep' |
165 | #tar='tar' |
166 | |
167 | xlibpth='' |
168 | |
169 | # I cannot stand it, but did not test with: |
170 | # d_dirnamlen='undef' |
171 | |
172 | # I try to do without these: |
173 | |
174 | #d_pwage='undef' |
175 | #d_pwcomment='undef' |
176 | |
177 | ln='cp' |
178 | lns='cp' |
179 | |
180 | # ???? |
181 | #mallocobj='' |
182 | #mallocsrc='' |
183 | #usemymalloc='false' |
184 | |
185 | nm_opt='-p' |
186 | |
187 | # The next two are commented. pdksh handles #! |
188 | # sharpbang='extproc ' |
189 | # shsharp='false' |
190 | |
191 | # Commented: |
192 | #startsh='extproc ksh\\n#! sh' |