builtin read stops at '\0'

2011-05-18 Thread Rafaƫl Fourquet
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-unknown-linux-gnu' -DCONF_VENDOR='unknown' -DLOCALEDIR='/usr/local/share/l

How does one make a bash "builtin" (shared loadable module) on cygwin?

2011-05-18 Thread Rocky Bernstein
I am trying to build a bash builtin on cygwin. Here's the error message I get via automake/make: $ make gcc -g -O2 -o set0.exe -shared set0-set0.o set0-set0.o: In function `set0_builtin': /tmp/bashdb/builtin/set0.c:46: undefined reference to `_builtin_error' /tmp/bashdb/builtin/set0.c:47: undef