Difference between revisions of "Install Libraries Suitable for Solaris GCC SPARC Cross Compiler"

From Aram's Wiki
Jump to: navigation, search
 
Line 1: Line 1:
 
[[Category:Solaris]]
 
[[Category:Solaris]]
  
Install libraries suitable for Solaris gcc cross compiler in $PKG_IMAGE.
+
Install libraries suitable for Solaris gcc cross compiler in $PKG_IMAGE.
 
  TRIPLET=sparc64-sun-solaris2.11  
 
  TRIPLET=sparc64-sun-solaris2.11  
 
  export PKG_IMAGE=/export/$TRIPLET-sysroot  
 
  export PKG_IMAGE=/export/$TRIPLET-sysroot  

Latest revision as of 16:41, 7 June 2018


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