Configure Scripts and Porting: Configuration Scripts in Interix (246314)



The information in this article applies to:

  • Interix 2.2.1
  • Interix 2.2.2
  • Interix 2.2.3
  • Interix 2.2.4

This article was previously published under Q246314

SUMMARY

This article explains configuration scripts in Interix.

MORE INFORMATION

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:

Modification Type:MajorLast Reviewed:10/3/2003
Keywords:kbinfo KB246314