Thread View: gnu.g++.help
2 messages
2 total messages
Started by Paul Rhodes
Wed, 29 Jul 1992 15:05
Problems with g++ on a Sun4 SunOs 4.1.1
Author: Paul Rhodes
Date: Wed, 29 Jul 1992 15:05
Date: Wed, 29 Jul 1992 15:05
49 lines
3553 bytes
3553 bytes
I can't install g++. Our system consists of a number of Sun 4's with NFS mounted partitions, running SunOs 4.1.1. I have been trying to install g++ version 1.40.3 for ages. Originally I was finding problems because I was using gcc version 2.2.2 to try and make it and g++ could find the files that it needed (I think that's what the problem was anyhow). Now, I have finally got g++ in place, but I can't get the library in place... (Library version 1.39.0) Part of the problem might be that I wish to put g++ in the directory... /usr/appl/new/gnu with the usual subdirectories of bin, lib, include, and man in that directory..... I also wish to have the library files in their own directory.. ie... /usr/appl/new/gnu/lib/g++1.40.3. At the end of this, I'll put a transcript of my make session.... Can you help me ? Am I using the right versions of gcc/g++/libg++ ?? thanks in advance, Paul Rhodes University of Reading, England ------------------------------------------------------------------------- ssssgw08 ~/new/gnu/src/libg++-1.39.0 % make (cd src; gmake GXX="g++" GXXFLAGS=" -I/usr/appl/new/gnu/src/libg++-1.39.0/g++-include -g -O -fstrength-reduce -felide-constructors -fschedule-insns -fdelayed-branch -fsave-memoized -Wall -pipe" GXXLDFLAGS="-L/usr/appl/new/gnu/src/libg++-1.39.0/src -lg++ -lm " LIBDIR="/usr/appl/new/gnu/lib/g++1.40.3" SRCIDIR="/usr/appl/new/gnu/src/libg++-1.39.0/g++-include" CC="gcc" CFLAGS=" -I/usr/appl/new/gnu/lib/gcc-include -I/usr/include -I/usr/appl/new/gnu/src/libg++-1.39.0/g++-include -g -O -fstrength-reduce -fdela yed-branch -Wall -pipe" RANLIB="granlib" LDXX="/usr/appl/new/gnu/lib/g++1.40.3/gcc-ld" GXXCRT1="/usr/appl/new/gnu/lib/g++1.40.3/crt1+.o" MAKE="gmake" prefix="/usr/appl/new/gnu" VPATH="/usr/appl/new/gnu/src/libg++-1.39.0/g++-include" AR="gar" PROTODIR="/usr/appl/new/gnu/src/libg++-1.39.0/g++-include/gen" GENCLASS="/usr/appl/new/gnu/src/libg++-1.39.0/genclass") g++ -I/usr/appl/new/gnu/src/libg++-1.39.0/g++-include -g -O -fstrength-reduce -felide-constructors -fschedule-insns -fdelayed-branch -fsave-memoized -Wall -pipe -c AllocRing.cc 0: unknown flag -+ AllocRing.cc:1: parse error before `/' In file included from /usr/appl/new/gnu/src/libg++-1.39.0/g++-include/std.h:33, from AllocRing.cc:27: /usr/appl/new/gnu/src/libg++-1.39.0/g++-include/stdio.h:1: parse error before `/' /usr/appl/new/gnu/src/libg++-1.39.0/g++-include/stdio.h:231: parse error before `}' /usr/appl/new/gnu/src/libg++-1.39.0/g++-include/stdio.h:231: warning: type specifier for member `_iob' omitted /usr/appl/new/gnu/src/libg++-1.39.0/g++-include/stdio.h:231: warning: data definition lacks type or storage class /usr/appl/new/gnu/src/libg++-1.39.0/g++-include/stdio.h:383: parse error before `/' /usr/appl/new/gnu/src/libg++-1.39.0/g++-include/stdio.h:383: warning: multi-character character constant /usr/appl/new/gnu/src/libg++-1.39.0/g++-include/stdio.h:895: malformatted character constant gmake: *** [AllocRing.o] Error 1 *** Error code 1 make: Fatal error: Command failed for target `src' ssssgw08 ~/new/gnu/src/libg++-1.39.0 %
Re: Problems with g++ on a Sun4 SunOs 4.1.1
Author: Johan Garpendahl
Date: Thu, 30 Jul 1992 08:20
Date: Thu, 30 Jul 1992 08:20
26 lines
1568 bytes
1568 bytes
ssurhode@suma1.rdg.ac.uk (Paul Rhodes) writes: > I can't install g++. Our system consists of a number of Sun 4's with >NFS mounted partitions, running SunOs 4.1.1. I have been trying to >install g++ version 1.40.3 for ages. Originally I was finding problems >because I was using gcc version 2.2.2 to try and make it and g++ could >find the files that it needed (I think that's what the problem was >anyhow). Now, I have finally got g++ in place, but I can't get the >library in place... (Library version 1.39.0) I tried to answer this by mail, but some relay machine in England says that you don't exist. If you have gcc 2.2.2 then you have g++ 2.2.2 as well as a compiler for Objective-C. They come in one package nowadays. If you have g++ 2.2.2, you can go for libg++ 2.2. It's more fun. If you want g++ 1.40, you need gcc 1.40. Johan -- Johan Garpendahl | Email: garp@isy.liu.se Linkoping University | Phone: +46 - 13 - 28 13 24 Dept. of Electrical Engineering | Fax : +46 - 13 - 13 92 82 S-581 83 LINKOPING // SWEDEN | This space is left blank.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads