This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/22407] libgfortran build fails because of bad substitution


------- Additional Comments From roessner at rbg dot informatik dot tu-darmstadt dot de  2005-07-11 18:54 -------
(In reply to comment #1)
> > /bin/sh: syntax error at line 1: `(' unexpected
> 
> /bin/sh is not supported on Solaris.  Please follow the instructions at:
>  http://gcc.gnu.org/install/specific.html#x-x-solaris2

Ok, rebuilt with "CONFIG_SHELL=/bin/bash; export CONFIG_SHELL". As expected, the
result is the same:

/bin/bash ./libtool --mode=compile (CC_FOR_TARGET) -DHAVE_CONFIG_H -I.
-I../../../gcc-4.0.1/libgfortran -I.  -iquote../../../gcc-4.0.1/libgfortran/io 
-std=gnu99 -Wall (CFLAGS_FOR_TARGET) -c -o environ.lo `test -f
'runtime/environ.c' || echo '../../../gcc-4.0.1/libgfortran/'`runtime/environ.c
/bin/bash: -c: line 1: syntax error near unexpected token `(C'
/bin/bash: -c: line 1: `/bin/bash ./libtool --mode=compile (CC_FOR_TARGET)
-DHAVE_CONFIG_H -I. -I../../../gcc-4.0.1/libgfortran -I. 
-iquote../../../gcc-4.0.1/libgfortran/io  -std=gnu99 -Wall (CFLAGS_FOR_TARGET)
-c -o environ.lo `test -f 'runtime/environ.c' || echo
'../../../gcc-4.0.1/libgfortran/'`runtime/environ.c'

So now it's "/bin/bash: ..." instead of "/bin/sh: ...".


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22407


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]