From: hines-michael@cs.yale.edu (Michael Hines)
Subject: installation of InterViews using g++ (mips-dec-ultrix4.2/2.4.5)
Date: 7 Dec 1993 09:39:05 -0500 [thread overview]
Message-ID: <2e24i9INN755@TIMSHEL.CTAN.YALE.EDU> (raw)
I am installing interviews remotely for a friend and don't know much
about this machine. If anyone has seen and overcome these problems
I'd greatly appreciate their advice. The iv-3.1-g++-3.1.tar.Z
patch was installed. I am posting to this newsgroup since I suspect the
problems are specific to this OS and not InterViews.
In .../iv/src/lib/IV/MIPSEL
g++ -Dcplusplus_2_1 -Dsigned= -Dvolatile= -DLANGUAGE_C -I../../../.././src
include -I/usr/include/X11 -c ../../IV-2_6/xbitmap2_6.c
In file included from ../../../.././src/include/IV-X11/Xlib.h;35,
afrom ../../../.././src/include/IV-X11/xbitmap.h;29
afrom ../../IV-2_6/xbitmap2_6.c;34;
/usr/users/GCC/lib/gcc-lib/mips-dec-ultrix4.2/2.4.5/include/X11/Xlib.h;3958
warning; type specifier omitted for parameter
/usr/users/GCC/lib/gcc-lib/mips-dec-ultrix4.2/2.4.5/include/X11/Xlib.h;3958
parse error before `*'
and many more like it.
One earlier problem I overcame by eliminating the -Dsigned= flag was;
g++ -Dcplusplus_2_1 -Dsigned= -Dvolatile= -DLANGUAGE_C -I../../../.././src
include -I/usr/include/X11 -c ../../InterViews/printer.c
In file included from /usr/users/GCC/lib/g++-include/stream.h;7,
from ../../InterViews/printer.c;38;
/usr/users/GCC/lib/g++-include/iostream.h;55; `class ostream& ostream;
put (char)' is already defined in class ostream
/usr/users/GCC/lib/g++-include/iostream.h;56; `class ostream& ostream;
write (const char *, int)' is already defined in class ostream
and others
But I am worried that the flag is there for a significant purpose.
For the cognoscenti the -v flag gives;
> g++ -v -Dcplusplus_2_1 -Dsigned= -Dvolatile= -DLANGUAGE_C -I../../../.././src
/include -I/usr/include/X11 -c ../../InterViews/printer.c
Reading specs from /usr/users/GCC/lib/gcc-lib/mips-dec-ultrix4.2/2.4.5/specs
gcc version 2.4.5
/usr/users/GCC/lib/gcc-lib/mips-dec-ultrix4.2/2.4.5/cpp -lang-c++
-v -I../../../.././src
include -I/usr/include/X11 -undef -D__GNUC__=2 -D__GNUG__=2
D__cplusplus -D__ANSI_COMPAT -DMIPSEL -DR3000 -DSYSTYPE_BSD
D_SYSTYPE_BSD -Dbsd4_2 -Dhost_mips -Dmips -Dultrix -Dunix
D__ANSI_COMPAT -D__MIPSEL__ -D__R3000__ -D__SYSTYPE_BSD__
D___SYSTYPE_BSD__ -D__bsd4_2__ -D__host_mips__ -D__mips__ -D__ultrix__
D__unix__ -D__ANSI_COMPAT -D__MIPSEL -D__R3000 -D__SYSTYPE_BSD
D___SYSTYPE_BSD -D__bsd4_2 -D__host_mips -D__mips -D__ultrix -D__unix
D__LANGUAGE_C__ -D__LANGUAGE_C -DLANGUAGE_C -Dcplusplus_2_1 -Dsigned= -Dvolatile
-DLANGUAGE_C ../../InterViews/printer.c /usr/tmp/cca14656.i
GNU CPP version 2.4.5 [AL 1.1, MM 40] DECstation running ultrix
/usr/users/GCC/lib/gcc-lib/mips-dec-ultrix4.2/2.4.5/cc1plus /usr/tmp/cca14656
i -quiet -dumpbase printer.cc -version -o /usr/tmp/cca14656.s
GNU C++ version 2.4.5 [AL 1.1, MM 40] DECstation running ultrix compiled
by GNU C version 2.4.5.
reply other threads:[~1993-12-07 14:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox