Install Libraries Suitable for Solaris GCC SPARC Cross Compiler
# install libraries suitable for Solaris gcc cross compiler in $PKG_IMAGE TRIPLET=sparc64-sun-solaris2.11 export PKG_IMAGE=/export/$TRIPLET-sysroot zfs create rpool$PKG_IMAGE pkg image-create -F -p solaris=http://pkg.oracle.com/solaris/release $PKG_IMAGE pkg change-variant variant.arch=sparc pkg install --accept entire@latest solaris-minimal-server system/header gcc