<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/default.xsl"?>
<fr:tree xmlns:fr="http://www.forester-notes.org" xmlns:html="http://www.w3.org/1999/xhtml" xmlns:xml="http://www.w3.org/XML/1998/namespace" root="false" base-url="/">
  <fr:frontmatter>
    <fr:authors>
      <fr:author>
        <fr:link href="/aram/" title="Aram Hăvărneanu" uri="https://xw.is/aram/" display-uri="aram" type="local">Aram Hăvărneanu</fr:link>
      </fr:author>
    </fr:authors>
    <fr:date>
      <fr:year>2018</fr:year>
      <fr:month>6</fr:month>
      <fr:day>7</fr:day>
    </fr:date>
    <fr:date>
      <fr:year>2025</fr:year>
      <fr:month>7</fr:month>
      <fr:day>8</fr:day>
    </fr:date>
    <fr:uri>https://xw.is/0008/</fr:uri>
    <fr:display-uri>0008</fr:display-uri>
    <fr:route>/0008/</fr:route>
    <fr:title text="Solaris › Generate SPARC sysroot on amd64 Solaris 11"><fr:link href="/solaris-index/" title="Solaris" uri="https://xw.is/solaris-index/" display-uri="solaris-index" type="local">Solaris</fr:link> › Generate SPARC sysroot on amd64 <fr:link href="/solaris11/" title="Oracle Solaris 11" uri="https://xw.is/solaris11/" display-uri="solaris11" type="local">Solaris 11</fr:link></fr:title>
  </fr:frontmatter>
  <fr:mainmatter>
    <html:p>If you need libraries and headers for producing a <fr:link href="/solaris/" title="Solaris" uri="https://xw.is/solaris/" display-uri="solaris" type="local">Solaris</fr:link>/SPARC GCC cross compiler you can obtain them from a regular amd64 <fr:link href="/solaris11/" title="Oracle Solaris 11" uri="https://xw.is/solaris11/" display-uri="solaris11" type="local">Solaris 11</fr:link> installation. The following commands will install libraries suitable for Solaris gcc cross compiler in <html:code>$PKG_IMAGE</html:code>:</html:p>
    <html:pre>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</html:pre>
  </fr:mainmatter>
  <fr:backmatter>
    <fr:tree show-metadata="false" hidden-when-empty="true">
      <fr:frontmatter>
        <fr:authors />
        <fr:title text="References">References</fr:title>
      </fr:frontmatter>
      <fr:mainmatter />
    </fr:tree>
    <fr:tree show-metadata="false" hidden-when-empty="true">
      <fr:frontmatter>
        <fr:authors />
        <fr:title text="Context">Context</fr:title>
      </fr:frontmatter>
      <fr:mainmatter />
    </fr:tree>
    <fr:tree show-metadata="false" hidden-when-empty="true">
      <fr:frontmatter>
        <fr:authors />
        <fr:title text="Backlinks">Backlinks</fr:title>
      </fr:frontmatter>
      <fr:mainmatter />
    </fr:tree>
    <fr:tree show-metadata="false" hidden-when-empty="true">
      <fr:frontmatter>
        <fr:authors />
        <fr:title text="Related">Related</fr:title>
      </fr:frontmatter>
      <fr:mainmatter>
        <fr:tree show-metadata="true" expanded="false" toc="false" numbered="false">
          <fr:frontmatter>
            <fr:authors />
            <fr:uri>https://xw.is/solaris11/</fr:uri>
            <fr:display-uri>solaris11</fr:display-uri>
            <fr:route>/solaris11/</fr:route>
            <fr:title text="Oracle Solaris 11">Oracle Solaris 11</fr:title>
            <fr:taxon>Release</fr:taxon>
            <fr:meta name="external">https://www.oracle.com/solaris/solaris11/</fr:meta>
            <fr:meta name="external">https://docs.oracle.com/cd/E37838_01/html/E60973/index.html</fr:meta>
          </fr:frontmatter>
          <fr:mainmatter>
            <html:p>Solaris 11 is the <fr:link href="https://www.theregister.com/2017/01/18/solaris_12_disappears_from_oracles_roadmap/" type="external">final</fr:link> major version of the <fr:link href="/solaris/" title="Solaris" uri="https://xw.is/solaris/" display-uri="solaris" type="local">Solaris</fr:link> operating system. The current minor version is <fr:link href="https://docs.oracle.com/cd/E37838_01/html/E60973/index.html" type="external">Solaris 11.4</fr:link>.
</html:p>
          </fr:mainmatter>
        </fr:tree>
        <fr:tree show-metadata="true" expanded="false" toc="false" numbered="false">
          <fr:frontmatter>
            <fr:authors />
            <fr:uri>https://xw.is/solaris/</fr:uri>
            <fr:display-uri>solaris</fr:display-uri>
            <fr:route>/solaris/</fr:route>
            <fr:title text="Solaris">Solaris</fr:title>
            <fr:taxon>Software</fr:taxon>
            <fr:meta name="external">https://www.oracle.com/solaris</fr:meta>
          </fr:frontmatter>
          <fr:mainmatter>
            <html:p>Proprietary Unix operating system originally developed by <fr:link href="/sun/" title="Sun Microsystems" uri="https://xw.is/sun/" display-uri="sun" type="local">Sun Microsystems</fr:link>.</html:p>
          </fr:mainmatter>
        </fr:tree>
      </fr:mainmatter>
    </fr:tree>
    <fr:tree show-metadata="false" hidden-when-empty="true">
      <fr:frontmatter>
        <fr:authors />
        <fr:title text="Contributions">Contributions</fr:title>
      </fr:frontmatter>
      <fr:mainmatter />
    </fr:tree>
  </fr:backmatter>
</fr:tree>
