Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Libraries and Linking > Building Shared Libraries for sparcv9

Building Shared Libraries for sparcv9

Darryl Gove, October 16, 2007

By default, the SPARC compiler assumes that SPARCV9 objects are built with -xcode=abs44, which means that 44 bits are used to hold the absolute address of any object. Shared libraries should be built using position independent code, either -xcode=pic13 or -xcode=pic32 (http://docs.sun.com/source/819-3688/cc_ops.app.html#pgfId-1029729) (replacing the deprecated Kpic (http://docs.sun.com/source/819-3688/cc_ops.app.html#pgfId-1026741) and KPIC (http://docs.sun.com/source/819-3688/cc_ops.app.html#pgfId-999870) options.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint