[gnu.g++] InterViews with g++ 1.35

newton@cme.nist.gov (Eric Newton) (07/13/89)

Has anyone got InterViews 2.4 (and the programs in the 'bin' 
directory) to successfully compile with g++ 1.35.0?

Does anyone know when the g++ compatable InterViews 2.5 is comming
out?

Thanks to anyone supplying answers to such dull questions.
Please respond via email.

newton@cme.nist.gov
Computer Scientist
Nat'l Institute of Standards and Technology

linton@INTERVIEWS.STANFORD.EDU (Mark Linton) (07/14/89)

>Has anyone got InterViews 2.4 (and the programs in the 'bin' 
>directory) to successfully compile with g++ 1.35.0?
>
>Does anyone know when the g++ compatable InterViews 2.5 is comming
>out?

    InterViews 2.5 is available via anonymous ftp from
interviews.stanford.edu (IP addr = 36.22.0.175).  The full distribution,
which includes (and compiles with) g++ 1.35.1-, is in "InterViews/2.5.tar.Z".
A distribution without g++ is in "InterViews/iv-2.5.tar.Z".
Some binaries for idraw (the InterViews drawing editor) are
in "InterViews/idraw".  There is a publicly writable "InterViews/contrib"
directory where people can put applications and extensions.

You can also obtain the distribution by sending
a "stamped, self-addressed" tape (Sun cartridge or 1/2-inch) to

	Mark Linton
	Center for Integrated Systems, Room 213
	Stanford University
	Stanford, CA 94305

abair@turbinia.oakhill.uucp (Alan Bair) (07/16/89)

I just retrieved the iv-2.5.tar file and will be building it shortly.  We
have g++-1.35, which I understand is the current 'official' release from
FSF.

Before I get going too far, is there something in g++-1.35.1 that InterViews
requires?  Or was that just what was being usd at Stanford, so it was included
with InterViews.

Any comments appreciated, I'd hate to waste the time of building twice.

Alan Bair
SPS CAD  Austin, Texas
Motorola, Inc.
UUCP cs.utexas.edu!oakill!turbinia!abair

schmidt@glacier.ics.uci.edu (Doug Schmidt) (07/16/89)

In article <ABAIR.89Jul15141810@turbinia.oakhill.uucp>, abair@turbinia (Alan Bair) writes:
>I just retrieved the iv-2.5.tar file and will be building it shortly.  We
>have g++-1.35, which I understand is the current 'official' release from
>FSF.
>
>Before I get going too far, is there something in g++-1.35.1 that InterViews
>requires?  Or was that just what was being usd at Stanford, so it was included
>with InterViews.
>
>Any comments appreciated, I'd hate to waste the time of building twice.

Make *sure* that you build the G++ included with InterViews
distribution, and then use that to compile the other InterViews
libraries and utilities.  If you don't do this, the libraries and
utilities will not work correctly.  I believe all this has to do with
the InterViews handling of I/O, in contrast to the way that libg++
does it with the `official' G++ release.

At any rate, I got it to work by rebuilding the G++ from the InterViews
tape, while it failed the other way...

Doug
--
Master Swordsman speak of humility;             | schmidt@ics.uci.edu (ARPA)
Philosophers speak of truth;                    | office: (714) 856-4034
Saints and wisemen speak of the Tao of no doubt;
The moon, sun, and sea speaks for itself. -- Hiroshi Hamada

linton@INTERVIEWS.STANFORD.EDU (Mark Linton) (07/17/89)

In response to Alan Bair's message:
>I just retrieved the iv-2.5.tar file and will be building it shortly.  We
>have g++-1.35, which I understand is the current 'official' release from
>FSF.
>
>Before I get going too far, is there something in g++-1.35.1 that InterViews
>requires?  Or was that just what was being usd at Stanford, so it was included
>with InterViews.

and Doug Schmidt's reply:

>Make *sure* that you build the G++ included with InterViews
>distribution, and then use that to compile the other InterViews
>libraries and utilities.  If you don't do this, the libraries and
>utilities will not work correctly.  I believe all this has to do with
>the InterViews handling of I/O, in contrast to the way that libg++
>does it with the `official' G++ release.
>
>At any rate, I got it to work by rebuilding the G++ from the InterViews
>tape, while it failed the other way...

    The version of g++ distributed with InterViews is a snapshot
    that works with our code.  I'm not sure about the g++ 1.35.0 compiler,
    but there were fixes needed to g++ in the process of getting it to work
    with InterViews (as well as vice versa).

    The InterViews distribution contains its own set of header files and
    a stream implementation, thereby making the code functional
    with either g++ or cfront.  The distribution does not include libg++;
    we provide a CC command that works with either c++ (g++'s compiler) or
    cfront.  Unlike the g++ compiler driver, our CC command does not
    try to link with libg++.

    My intent in all of this is to satisfy all of the following needs:

	(1) People who want to use InterViews with cfront.
	(2) People who want to use InterViews with standard g++.
	(3) People who don't have a C++ compiler, but want to try InterViews.

    I'm sure (1) and (3) work, as I have tested them.  As we don't use libg++
    here, I haven't tested (2).  If there are problems using standard g++
    that are not 1.35.0 bugs, I would like to know about them.

	Mark