|
My (limited) understanding of how IBM does downlevel compiles is that OS/400 literally invokes the compiler from the downlevel release. It's possible that there is a release of the GNU C compiler for the iSeries. I think I have seen that somewhere on IBM's website. ---------- Original Message ---------------------------------- From: Dylan@xxxxxxxxxxxxxx Reply-To: C programming iSeries / AS400 <c400-l@xxxxxxxxxxxx> Date: Sun, 9 Mar 2003 08:37:55 +1100 > >iostream.h is part of the pre-standard iostreams library that is no longer >part of C++. >While I could rewrite the code to use it (by removing std:: etc. etc.), it >wouldn't help the code that uses <list> & <string>. >I'm sure there must be a compiler available that can compile this code to >V4R5...perhaps an old version of VisualAge c++? >It is 100% standard C++ code, no extensions required. It compiles to a >service-program with a C interface. > >Dylan > > > > > c400-l-request@xx > > drange.com To: c400-l@xxxxxxxxxxxx > > Sent by: cc: > > c400-l-bounces@xx Subject: C400-L Digest, Vol > 1, Issue 126 > drange.com > > > > > > 03/09/2003 05:00 > > AM > > Please respond to > > c400-l > > > > > > > > > >Send C400-L mailing list submissions to > c400-l@xxxxxxxxxxxx > >To subscribe or unsubscribe via the World Wide Web, visit > http://lists.midrange.com/mailman/listinfo/c400-l >or, via email, send a message with subject or body 'help' to > c400-l-request@xxxxxxxxxxxx > >You can reach the person managing the list at > c400-l-owner@xxxxxxxxxxxx > >When replying, please edit your Subject line so it is more specific >than "Re: Contents of C400-L digest..." > > >Today's Topics: > > 1. Re: V5R1 ILE c++ compiler compiling to V4R5 (dyokana ) > > >---------------------------------------------------------------------- > >message: 1 >date: Fri, 7 Mar 2003 10:11:11 -0800 >from: "dyokana " <dyokana@xxxxxxxxxxx> >subject: [C400-L] Re: V5R1 ILE c++ compiler compiling to V4R5 > >Dylan: > >While I am not a serious C++ expert, try changing the include statement to ><iostream.h> > >-Davis >---------- Original Message ---------------------------------- >From: Dylan@xxxxxxxxxxxxxx >Reply-To: C programming iSeries / AS400 <c400-l@xxxxxxxxxxxx> >Date: Wed, 5 Mar 2003 10:24:28 +1100 > >>Hi, >> >>This has been asked before, but can anyone tell me why when running the >>V5R1 C++ compiler with the TGTRLS(V4R5M0) option, then the standard C++ >>header files are not found by the compiler: >> >>/DYLAN/TEST.CPP(1:10) :error GDW3008 Source file <iostream> cannot be >> opened. >> >>Withou this option it compiles and runs fine. >> >>We have a bunch of C++ code that uses string, list, iostream, sstream etc. >>that needs to compile for V4R5, and I'm stuck at the moment! >> >>Thanks >> >>Dylan >> >> >> >>_______________________________________________ >>This is the C programming iSeries / AS400 (C400-L) mailing list >>To post a message email: C400-L@xxxxxxxxxxxx >>To subscribe, unsubscribe, or change list options, >>visit: http://lists.midrange.com/mailman/listinfo/c400-l >>or email: C400-L-request@xxxxxxxxxxxx >>Before posting, please take a moment to review the archives >>at http://archive.midrange.com/c400-l. >> >> > >------------------------------ > >_______________________________________________ >This is the C programming iSeries / AS400 (C400-L) digest list >To post a message email: C400-L@xxxxxxxxxxxx >To subscribe, unsubscribe, or change list options, >visit: http://lists.midrange.com/mailman/listinfo/c400-l >or email: C400-L-request@xxxxxxxxxxxx >Before posting, please take a moment to review the archives >at http://archive.midrange.com/c400-l. > > > >End of C400-L Digest, Vol 1, Issue 126 >************************************** > > > > > >_______________________________________________ >This is the C programming iSeries / AS400 (C400-L) mailing list >To post a message email: C400-L@xxxxxxxxxxxx >To subscribe, unsubscribe, or change list options, >visit: http://lists.midrange.com/mailman/listinfo/c400-l >or email: C400-L-request@xxxxxxxxxxxx >Before posting, please take a moment to review the archives >at http://archive.midrange.com/c400-l. > >
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.