4 # BS2000 (Posix Subsystem) hints by Thomas Dorner <Thomas.Dorner@start.de>
6 # thanks to the authors of the os390.sh
9 # To get ANSI C, we need to use c89, and ld doesn't exist
14 ccflags='-DPOSIX_BC -DUSE_PURE_BISON -D_XOPEN_SOURCE_EXTENDED'
16 # Flags on a RISC-Host (SUNRISE):
17 if [ -n "`bs2cmd SHOW-SYSTEM-INFO | egrep 'HSI-ATT.*TYPE.*SR'`" ]; then
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'
25 # Turning on optimization breaks perl (CORE-DUMP):
28 # we don''t use dynamic memorys (yet):
33 # On BS2000/Posix, libc.a doesn't really hold anything at all,
34 # so running nm on it is pretty useless.