* it's a bash script, not sh

This commit is contained in:
peter 1999-12-23 13:51:55 +00:00
parent d85e3914a3
commit 301811827a

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
# #
# $Id$ # $Id$
# #
@ -65,7 +65,7 @@ cat <<EOFCFG > $thefile
# For a release compile with optimizes and strip debuginfo # For a release compile with optimizes and strip debuginfo
#IFDEF RELEASE #IFDEF RELEASE
-OG2p2 -OG2p3
-Xs -Xs
#WRITE Compiling Release Version #WRITE Compiling Release Version
#ENDIF #ENDIF
@ -131,8 +131,8 @@ cat <<EOFCFG > $thefile
# -Op2 set target processor to Pentium/PentiumMMX (tm) # -Op2 set target processor to Pentium/PentiumMMX (tm)
# -Op3 set target processor to PPro/PII/c6x86/K6 (tm) # -Op3 set target processor to PPro/PII/c6x86/K6 (tm)
# Optimize always for Size and Pentium # Optimize always for Size and PII
#-OG2p2 #-OG2p3
# ----------------------- # -----------------------
@ -150,54 +150,9 @@ cat <<EOFCFG > $thefile
#-Fi/pp/inc;/pp/rtl/inc #-Fi/pp/inc;/pp/rtl/inc
# searchpath for units and other system dependent things # searchpath for units and other system dependent things
#IFDEF Go32V1 -Fu$1/rtl/$target/
#IFDEF FPC_LINK_STATIC -Fu$1/units/$target
-Fu$1/rtl/go32v1/static #-Fu~/fpc/units;~/fpc/rtl/linux
-Fu$1/units/go32v1/static
#ENDIF
-Fu$1/rtl/go32v1
-Fu$1/units/go32v1
#ENDIF
#IFDEF Go32V2
#IFDEF FPC_LINK_STATIC
-Fu$1/rtl/go32v2/static
-Fu$1/units/go32v2/static
#ENDIF
-Fu$1/rtl/go32v2
-Fu$1/units/go32v2
#ENDIF
#IFDEF Win32
#IFDEF FPC_LINK_STATIC
-Fu$1/rtl/win32/static
-Fu$1/units/win32/static
#ENDIF
-Fu$1/rtl/win32
-Fu$1/units/win32
#ENDIF
#IFDEF OS2
#IFDEF FPC_LINK_STATIC
-Fu$1/rtl/os2/static
-Fu$1/units/os2/static
#ENDIF
-Fu$1/rtl/os2
-Fu$1/units/os2
#ENDIF
#IFDEF Linux
# For statically, smartlinked units
#IFDEF FPC_LINK_STATIC
-Fu$1/rtl/linux/static
-Fu$1/units/linux/static
#ENDIF
# For Dynamically linked units
#IFDEF FPC_LINK_DYNAMIC
-Fu$1/rtl/linux/shared
-Fu$1/units/linux/shared
#ENDIF
-Fu$1/rtl/linux
-Fu$1/units/linux
#-Fu~/pp/units;~/pp/rtl/linux
#-Fu/usr/lib/fpc/0.99.12/units;/usr/lib/fpc/0.99.12/rtl
#ENDIF
# searchpath for libraries # searchpath for libraries
-Fl$GCCDIR -Fl$GCCDIR