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

General Topics > Finding the Canonical Path to an Executable

Finding the Canonical Path to an Executable

Douglas Walls, May 8, 2006

Below is a coding example of how an executable can determine the canonical path to itself on the file system. Compiler drivers, like cc, CC, f95 need to do this in order to execute the component executables that compile a program, for example, the compiler front-end, an optimizer, and a linker.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

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

  

Start a Free 10-Day Trial


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