Skip to content

Commit

Permalink
INIT: Add Solaris 11 compiler wrappers (Solaris patch 005-compiler)
Browse files Browse the repository at this point in the history
  • Loading branch information
McDutchie committed Jan 9, 2021
1 parent e03c010 commit 4e67234
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/cmd/INIT/cc.sol11.i386
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
: solaris.i386 cc wrapper for reasonable ansi C defaults and 32 bit : 2012-05-18 :

HOSTTYPE=sol11.i386

case " $* " in
*" -dumpmachine "*) echo $HOSTTYPE; exit ;;
esac

$CC_EXPLICIT -m32 -xc99 -D_XPG6 "$@"
9 changes: 9 additions & 0 deletions src/cmd/INIT/cc.sol11.i386-64
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
: solaris.i386-64 cc wrapper for reasonable ansi C defaults and 64 bit : 2012-05-18 :

HOSTTYPE=sol11.i386-64

case " $* " in
*" -dumpmachine "*) echo $HOSTTYPE; exit ;;
esac

$CC_EXPLICIT -m64 -xc99 -D_XPG6 "$@"
9 changes: 9 additions & 0 deletions src/cmd/INIT/cc.sol11.sparc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
: solaris.sparc cc wrapper for reasonable ansi C defaults and 32 bit : 2012-05-18 :

HOSTTYPE=sol11.sparc

case " $* " in
*" -dumpmachine "*) echo $HOSTTYPE; exit ;;
esac

$CC_EXPLICIT -m32 -xc99 -D_XPG6 "$@"
9 changes: 9 additions & 0 deletions src/cmd/INIT/cc.sol11.sparc-64
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
: solaris.sparc-64 cc wrapper for reasonable ansi C defaults and 64 bit : 2012-05-18 :

HOSTTYPE=sol11.sparc-64

case " $* " in
*" -dumpmachine "*) echo $HOSTTYPE; exit ;;
esac

$CC_EXPLICIT -m64 -xc99 -D_XPG6 "$@"

0 comments on commit 4e67234

Please sign in to comment.