Microsoft KB Archive/246377

From BetaArchive Wiki
Knowledge Base


Configure Scripts and Porting - INTERIX Compiler Interfaces

Article ID: 246377

Article Last Modified on 10/30/2006



APPLIES TO

  • 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 Q246377

SUMMARY

INTERIX 2.2 provides gcc. If you have installed a Microsoft C compiler, you may also use c89 and cc. In most cases you will use gcc, because most configure scripts look specifically for gcc.

On an OPENNT 2.0 system (without gcc), you must choose either c89 or cc.

  • cc accepts the traditional order of operands (where -o can follow after the list of files and libraries). The c89 utility follows the POSIX argument ordering conventions.


  • cc defines several useful feature macros:


-Dunix -D__OPENNT -D_ALL_SOURCE -D_STDC__

  • c89 defines only __OPENNT.


For compatibility with older programs, use cc.

MORE INFORMATION

For additional information about configuring scripts with INTERIX, see http://www.interix.com/.

Keywords: kbinfo KB246377