source: trunk/third/perl/hints/posix-bc.sh @ 14545

Revision 14545, 997 bytes checked in by ghudson, 24 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r14544, which included commits to RCS files with non-trunk default branches.
Line 
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
10cc='c89'
11ld='c89'
12
13# C-Flags:
14ccflags='-DPOSIX_BC -DUSE_PURE_BISON -D_XOPEN_SOURCE_EXTENDED'
15
16# Flags on a RISC-Host (SUNRISE):
17if [ -n "`bs2cmd SHOW-SYSTEM-INFO | egrep 'HSI-ATT.*TYPE.*SR'`" ]; then
18    echo
19    echo "Congratulations, you are running a machine with Sunrise CPUs."
20    echo "Let's hope you have the matching RISC compiler as well."
21    ccflags='-K risc_4000 -DPOSIX_BC -DUSE_PURE_BISON -D_XOPEN_SOURCE_EXTENDED'
22    ldflags='-K risc_4000'
23fi
24
25# Turning on optimization breaks perl (CORE-DUMP):
26optimize='none'
27
28# we don''t use dynamic memorys (yet):
29so='none'
30usedl='no'
31dlext='none'
32
33# On BS2000/Posix, libc.a doesn't really hold anything at all,
34# so running nm on it is pretty useless.
35usenm='no'
36
37# other Options:
38
39usemymalloc='no'
40
41archobjs=ebcdic.o
42
Note: See TracBrowser for help on using the repository browser.