Trying to get BASH going.

Bruce Robert Larson blarson at umb.umb.edu
Wed Feb 21 18:13:08 AEST 1990


In article <1990Feb20.070242.4567 at rancho.uucp>, rock at rancho.uucp (Rock Kent) writes:
> I've been trying the get the GNU Bourne Again Shell (BASH) to compile
> on a Microport V/386 system.  I'm currently failing the compile in
> nojobs.c at line 169 with an illegal lhs of assignment operator:
> 	  status.w_termsig = 0;
> This apparently conflicts with line 22 of jobs.h:
>           #define w_termsig bytes.low & 0x7f
> 

status.w_termsig = 0	==>	status.bytes.low & 0x7f = 0

Since the logical conjunction of status.bytes.low and 0x7f is 0,
then it follows that status.bytes.low must be 0.

Replace ``status.w_termsig = 0'' on line 169 of nojobs.c
with ``status.bytes.low = 0'' and the program will compile.

I've compiled bash-1.02 and -1.04 under 386/ix 2.0.2.  Even got 1.04 to
compile on a 3B2 under Rel. 3.0 (brain-dead compiler)!

Bruce



More information about the Comp.unix.microport mailing list