Microsoft KB Archive/246314

From BetaArchive Wiki
Knowledge Base

Configure Scripts and Porting: Configuration Scripts in Interix

Article ID: 246314

Article Last Modified on 11/1/2006


  • Microsoft Interix 2.2 Standard Edition
  • Microsoft Interix 2.2 Standard Edition
  • Microsoft Interix 2.2 Standard Edition
  • Microsoft Interix 2.2 Standard Edition

This article was previously published under Q246314


This article explains configuration scripts in Interix.


The following is a list of configuration script properties:

  • Interix does not have a single root file system. The file system on Interix exists on multiple drives, each of which has its own root.
  • Interix does not have a standard file hierarchy. The predefined file hierarchy is offset from the root of a drive by some directory sub tree. The value of this offset is available in the Interix environment from the value of the shell variable Interix_ROOT or with the getconf CS_INSTALLEDDIR command. As a side effect, the pathname /bin/sh does not find the sh interpreter unless the Interix_ROOT is the root of the current drive.
  • The structure of Interix header files is unique.
  • The traditional cc interface prints output only when an error occurs. The Microsoft C compiler and the Interix cc driver writes the name of every file compiled to standard output. This is fixed in the most recent version of cc for Interix.
  • Not all of the system calls have entry points in libc.a. Many calls have entry points in the dynamic library psxdll.a which is loaded for all Interix processes.

For additional information about configuring scripts with Interix, see the following Interix Web site:

Additional query words: 2.2.10 2.2.20 2.2.30 2.2.40

Keywords: kbinfo KB246314