This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/22407] libgfortran build fails because of bad substitution
- From: "roessner at rbg dot informatik dot tu-darmstadt dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Jul 2005 18:54:20 -0000
- Subject: [Bug bootstrap/22407] libgfortran build fails because of bad substitution
- References: <20050711134812.22407.roessner@rbg.informatik.tu-darmstadt.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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