This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
applied new parts of suggested patch
[perl5.git] / hints / posix-bc.sh
1 #! /usr/bin/bash -norc
2 # hints/posix-bc.sh
3 #
4 # BS2000 (Posix Subsystem) hints by Thomas Dorner <Thomas.Dorner@start.de>
5 #
6 #  thanks to the authors of the os390.sh
7 #
8
9 # To get ANSI C, we need to use c89, and ld doesn't exist
10 cc='c89'
11 ld='c89'
12
13 # C-Flags:
14 ccflags='-DPOSIX_BC -DUSE_PURE_BISON -D_XOPEN_SOURCE_EXTENDED'
15
16 # Turning on optimization breaks perl (CORE-DUMP):
17 optimize='none'
18
19 # we don''t use dynamic memorys (yet):
20 so='none'
21 usedl='no'
22 dlext='none'
23
24 # On BS2000/Posix, libc.a doesn't really hold anything at all,
25 # so running nm on it is pretty useless.
26 usenm='no'
27
28 # other Options:
29
30 usemymalloc='no'
31
32 archobjs=ebcdic.o
33