Configure Scripts and Porting - INTERIX Compiler Interfaces (246377)



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 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/NewInterix/technotes/note0007.html.

Modification Type:MajorLast Reviewed:7/31/2001
Keywords:kbinfo KB246377