🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52132

DEC VAX/VMS enquire help?

#52132
From: hencheyj
Date: Sat, 06 Feb 1993 15:43
67 lines
3180 bytes
Could somebody help me make gcc on a DEC VAX/ULTRIX machine?  I am a total
newbie at compiling something of this size, and I don't know much about
the innerworkings of makefiles.  I don't know what most of these errors mean,
and I don't understand how to "fix" them.

I've tried to summarize what has been going on.  I don't claim to know why
I did these things, but they actually appeared to work some of the time.
This history follows the line of dashes.

I'm totally clueless how to get myself out of this one.  Is someone
patient enough to try to explain what's going on and how to get the make to
work?

Jean Henchey.

------------------------------------------------------------------------------
SUMMARY:

My problems began with this stderr:

    cpp: error /usr/tmp/cca14463.s

The error was for an "undefined control" at lines 1, 45, and 47, and was
generated by this section of code:

    set -e;  for name in _muldi3 _divdi3 _moddi3
    _udivdi3 _umoddi3 _negdi2  _lshrdi3 _lshldi3 _ashldi3 _ashrdi3
    _udiv_w_sdiv _udivmoddi4 _cmpdi2 _ucmpdi2 _floatdidf _floatdisf
    _fixunsdfsi _fixunssfsi _fixunsdfdi _fixdfdi _fixunssfdi _fixsfdi
    __gcc_bcmp _varargs _eprintf _builtin_new _caps_New _builtin_del
    _bb _shtab _clear_cache _trampoline __main _exit _ctors;  do
    echo ${name};    ./xgcc -B./ -O2  -DIN_GCC   -g  -g1 -I. -I. -I./config
    -c -DL${name}        ./libgcc2.c -o ${name}.o;

    if [ $? -eq 0 ] ; then true; else exit 1; fi;    ar rc tmplibgcc2.a
    ${name}.o;    rm -f ${name}.o;  done

The only printed before the above error messages was:
    _muldi3

So, the makefile was gagging on the second to last line of the larger
paragraph on the ./xgcc -B./ -02 (etc).

Richard Stallman suggested using -S.  This seemed to "cure" the xgcc error
on _muldi3 and company, and after using some more -S's on the xgcc commands, 
I got even further into the makefile -- that is, until I hit the rule for 
enquire.

Looking at the makefile, it appears that the makefile dies trying to compile
enquire.  The section of the enquire make starts with something that looks
like:

enquire:  enquire.o ${somethingelse}
(a big xgcc command, etc.)

enquire.o:  (etc.)

So, it looks for enquire.o, which it does find, but then I get this really
strange error:

./xgcc -B./ -S  -DIN_GCC   -g   enquire.o -o enquire
./xgcc: enquire.o: linker input file unused since linking not done
./enquire -f > tmp-float.h
sh: ./enquire: not found
*** Error code 1 (ignored)
mv tmp-float.h float.h
-----------------------------------------------------------------------------
Technical Details
Message-ID: <1993Feb6.154315.2686@merrimack.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!spool.mu.edu!hri.com!merrimack.edu!hencheyj

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,93d6b98b4a15c9ce,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-02-06 07:43:15 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!spool.mu.edu!hri.com!merrimack.edu!hencheyj
From: hencheyj@merrimack.edu
Newsgroups: gnu.gcc.help
Subject: DEC VAX/VMS enquire help?
Message-ID: <1993Feb6.154315.2686@merrimack.edu>
Date: 6 Feb 93 15:43:15 GMT
Article-I.D.: merrimac.1993Feb6.154315.2686
Organization: Merrimack College, No. Andover, MA, USA
Lines: 67