Article View: comp.unix.programmer
Article #3384Do IRIX and Tru64 C++ compilers support headers like <cstdio>?
From: Charlie Zender
Date: Sun, 04 Mar 2001 00:48
Date: Sun, 04 Mar 2001 00:48
22 lines
1915 bytes
1915 bytes
Hi, I am in the unfortunate position of trying to port c++ codes to SGI IRIX and compaq alpha OSF1 (true64) operating systems which do not have g++ installed. Using the native C++ compilers on these machines (CC and cxx, respectively), I find that the C++ standard of naming standard C-language include files as "c"+name does not work. i.e., I thought #include <stdio.h> was supposed to be equivalent to #include <cstdio> but neither of these compilers can find the <cstdio> header. Am I doing something wrong? Is g++ really the only compiler that supports this standard? Are there any workarounds besides the obvious renaming the headers back to their C-language names? Thanks, Charlie -- Charlie Zender zender@uci.edu (949) 824-2987/FAX-3256, Department of Earth System Science, University of California, Irvine CA 92697-3100
Technical Details
Message-ID:
<3AA190C4.3020308@uci.edu>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!news-feed.riddles.org.uk!arclight.uoregon.edu!csulb.edu!news.service.uci.edu!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc89c,7e4b96a1288c2b6,start X-Google-Attributes: gidfc89c,public X-Google-Thread: 10ba33,7e4b96a1288c2b6,start X-Google-Attributes: gid10ba33,public X-Google-Thread: 10b5c6,7e4b96a1288c2b6,start X-Google-Attributes: gid10b5c6,public X-Google-ArrivalTime: 2001-03-03 16:52:05 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!news-feed.riddles.org.uk!arclight.uoregon.edu!csulb.edu!news.service.uci.edu!not-for-mail From: Charlie Zender <zender@uci.edu> Newsgroups: comp.unix.programmer,comp.c++.help,gnu.g++.help Subject: Do IRIX and Tru64 C++ compilers support headers like <cstdio>? Date: Sat, 03 Mar 2001 16:48:04 -0800 Organization: University of California at Irvine Lines: 23 Message-ID: <3AA190C4.3020308@uci.edu> NNTP-Posting-Host: dialin53a-39.ppp.uci.edu MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-22 i686; en-US; 0.8) Gecko/20010214 X-Accept-Language: en