rlewis@lilink.UUCP (Richard Lewis) (08/13/89)
I'm having trouble installing GNU g++ version 1.35.1- on a Sun 386i. The first problem was caused by the assembler choking on file names larger than 14 characters. Later, there was a plethora of compila- tion problems, mostly syntax errors in the source. Does anyone out there have a solution to my problems? I would be greatful to get any help. Richard Lewis (212) 938-1407 rutgers!lilink!chuo!rlewis
pell@ISY.LIU.SE (P{r Emanuelsson) (08/14/89)
Normally, I mail this answer to anyone asking (and the question shouldn't have been put to this list anyway, but to me), but I've seen these questions many times now and hope I can clear this up once and for all. >The first problem was caused by the assembler choking on file names >larger than 14 characters. The easiest thing to do is: 1. rename cplus-parse.tab.c to (e.g.) cp.c. 2. cc "with all the usual defines" cp.c 3. mv cp.o cplus-parse.tab.o >Later, there was a plethora of compila- >tion problems, mostly syntax errors in the source. I trust this was for newld.c? From the installation instructions: >The make will fail on ld++. You have two options: > >1. Fix ld++ => stop reading this file and post your fixes. >2. Do a "make collect". Continue reading. > >- "make install" >- Copy collect to the same directory where g++ will go. >- Create libg++ (it's a separate distribution). If you want to avoid having cc recompile newld.c every time, do a "touch ld++" or simply remove ld++ as a target in the "all:" line in the Makefile. The installation instructions have been slightly revised in the version of the Sun386i patch available on isy.liu.se (130.236.1.3). (In the gnu directory) All further questions about the Sun386i port to me! Thanks. /Pell -- "Don't think; let the machine do it for you!" -- E. C. Berkeley Dept. of Electrical Engineering pell@isy.liu.se University of Linkoping, Sweden ...!uunet!isy.liu.se!pell