🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #229

Working around tiny command line limit in Vax-Ultrix

#229
From: Joe Buck
Date: Tue, 07 Apr 1992 20:32
27 lines
1681 bytes
Please use subject lines!  Your message arrived here with "Subject: (none)"
In article <9204071319.AA16534@uiucmath.math.uiuc.edu> dan@uiucmath.math.uiuc.edu (Daniel R. Grayson) writes:
>In compiling gdb 4.4 on a vaxstation II with ultrix 2.0 I get this strange gcc
>error:
>
>gcc -c -g     -I. -I. -I./../include -I./../readline -I./vx-share  breakpoint.c
>make[1]: execve: /usr/local/bin/gcc: Arg list too long
>make[1]: *** [breakpoint.o] Error 127
>make: *** [just-gdb] Error 1

For some reason, Vax-ultrix has a tiny command line length limit in execve
and in /bin/sh.  But for some reason, /bin/csh takes a much longer command
line.

Ultrix for DecStations doesn't have this problem.  Someone needs to tell
DEC to fix this one.

Given that, you can get gdb built by saving the "make" output into a file;
the make will fail with the message you show above.  Then edit the file
to remove everything but the gcc command that does the link.  Then get
csh to execute the file by saying "source file" from csh, where file is
the file you made by editing make's output.

(At least, you can get gdb built if there aren't other problems).

--
Joe Buck	jbuck@ohm.berkeley.edu
Technical Details
Message-ID: <rt0t2INNd06@agate.berkeley.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!forney.berkeley.edu!jbuck
References: <9204071319.AA16534@uiucmath.math.uiuc.edu>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!forney.berkeley.edu!jbuck
From: jbuck@forney.berkeley.edu (Joe Buck)
Subject: Working around tiny command line limit in Vax-Ultrix
Message-ID: <rt0t2INNd06@agate.berkeley.edu>
Sender: gnulists@ai.mit.edu
Organization: University of California, Berkeley
References: <9204071319.AA16534@uiucmath.math.uiuc.edu>
Distribution: gnu
Date: Tue, 7 Apr 1992 20:32:34 GMT
Approved: bug-gcc@prep.ai.mit.edu
Lines: 28