When building GHDL on Debian Linux, I get:
joris$ ./configure --with-gcc=/path/to/gcc-4.9.2
./configure: 48: ./configure: Syntax error: "(" unexpected
The reason is the keword "function" on line 48 is a bash-ism, not a portable
POSIX shell construction.
One solution that works is to change the top line from "#!/bin/sh" to
"#!/bin/bash".
An alternative solution could be to make the configure script portable accross
POSIX shells.
(I'm still working on getting the range check issue in my debugger.)
Joris.
_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss