Commit | Line | Data |
86339dc9 |
1 | # hints/os390.sh |
9d116dd7 |
2 | # |
3 | # OS/390 hints by David J. Fiander <davidf@mks.com> |
4 | # |
86339dc9 |
5 | # OS/390 OpenEdition Release 3 Mon Sep 22 1997 thanks to: |
6 | # |
7 | # John Pfuntner <pfuntner@vnet.ibm.com> |
8 | # Len Johnson <lenjay@ibm.net> |
9 | # Bud Huff <BAHUFF@us.oracle.com> |
10 | # Peter Prymmer <pvhp@forte.com> |
11 | # Andy Dougherty <doughera@lafcol.lafayette.edu> |
12 | # Tim Bunce <Tim.Bunce@ig.co.uk> |
13 | # |
14 | # as well as the authors of the aix.sh file |
15 | # |
16 | |
9d116dd7 |
17 | # To get ANSI C, we need to use c89, and ld doesn't exist |
86339dc9 |
18 | cc='c89' |
9d116dd7 |
19 | ld='c89' |
956f0479 |
20 | # To link via definition side decks we need the dll option |
21 | cccdlflags='-W 0,dll,"langlvl(extended)"' |
9d116dd7 |
22 | # c89 hides most of the useful header stuff, _ALL_SOURCE turns it on again, |
23 | # YYDYNAMIC ensures that the OS/390 yacc generated parser is reentrant. |
24 | # -DEBCDIC should come from Configure. |
25 | ccflags='-DMAXSIG=38 -DOEMVS -D_OE_SOCKETS -D_XOPEN_SOURCE_EXTENDED -D_ALL_SOURCE -DYYDYNAMIC' |
26 | # Turning on optimization breaks perl |
86339dc9 |
27 | optimize='none' |
9d116dd7 |
28 | |
86339dc9 |
29 | alignbytes=8 |
9d116dd7 |
30 | |
31 | usemymalloc='n' |
32 | |
86339dc9 |
33 | so='a' |
9d116dd7 |
34 | |
35 | # On OS/390, libc.a doesn't really hold anything at all, |
36 | # so running nm on it is pretty useless. |
37 | usenm='n' |
38 | |
39 | # Dynamic loading doesn't work on OS/390 quite yet |
40 | usedl='n' |
86339dc9 |
41 | dlext='none' |
9d116dd7 |
42 | |
43 | # Configure can't figure this out for some reason |
86339dc9 |
44 | d_shmatprototype='define' |
9d116dd7 |
45 | |
86339dc9 |
46 | usenm='false' |
47 | i_time='define' |
48 | i_systime='define' |
86339dc9 |
49 | |
50 | # (from aix.sh) |
51 | # uname -m output is too specific and not appropriate here |
9d116dd7 |
52 | # osname should come from Configure |
86339dc9 |
53 | # |
54 | case "$archname" in |
55 | '') archname="$osname" ;; |
56 | esac |
57 | |
9d116dd7 |
58 | archobjs=ebcdic.o |
1cfa4ec7 |
59 | |
60 | # We have our own cppstdin. |
61 | echo 'cat >.$$.c; '"$cc"' -E -Wc,NOLOC ${1+"$@"} .$$.c; rm .$$.c' > cppstdin |