|
Top Document: SGI apps Frequently Asked Questions (FAQ) Previous Document: -36- What are the correct versions of the Irix Development Option (IDO) and Fortran for current versions of IRIX? Next Document: -38- Why doesn't application X understand NIS (Yellow Pages)? See reader questions & answers on this topic! - Help others by sharing your knowledge SGI's C compiler is ANSI C by default in IRIX 4 and later. Use the '-cckr' option to compile K&R (traditional) C. You can do this most easily by setting the environment variable SGI_CC to "-cckr" or by editing the application's Makefile, often by adding "-cckr" to the CFLAGS variable. A related problem is that Makefiles generated by 'imake' most often use 'cc -cckr -prototypes'; missing or incorrect prototypes usually just generate pages of warnings but may cause an unrecoverable error. You can often work around this by removing "-prototypes" from the line where it appears in the Makefile (not the Imakefile). User Contributions:Top Document: SGI apps Frequently Asked Questions (FAQ) Previous Document: -36- What are the correct versions of the Irix Development Option (IDO) and Fortran for current versions of IRIX? Next Document: -38- Why doesn't application X understand NIS (Yellow Pages)? Single Page [ Usenet FAQs | Web FAQs | Documents | RFC Index ] Send corrections/additions to the FAQ Maintainer: sgi-faq@viz.tamu.edu (The SGI FAQ group)
Last Update March 27 2014 @ 02:12 PM
|

Comment about this article, ask questions, or add new information about this topic: