[JAVA] /bin/sh portability issues in gen-classlist.sh.in
Eric Botcazou
ebotcazou@libertysurf.fr
Fri Jul 7 13:44:00 GMT 2006
> I'm reminded that the GCC Development Mission Statement, explicitly
> states "to ensure that GCC ... works on multiple architectures and
> diverse environments". http://gcc.gnu.org/gccmission.html
Sure, GCC works just fine on Solaris with /bin/ksh.
> However, knowing that /bin/sh has been a bane of the GCC build system
> for many years, I was surprised at how easy the port was. GCC 3.4.3 built
> out of the box, and mainline three stage bootstrapped the compilers and
> built most of the runtime libraries only to fail in multilibed boehmgc
> and libjava.
On how many versions of Solaris?
> Running "what /bin/sh" on my Solaris/x86 box shows that the executable
> is dated 1st October 2005. Perhaps after nearly/over? ten years of
> brokeness SUN's code is now stable enough for GCC to meet them half
> way?
AFAIK Sun has essentially pledged to keep /bin/sh bug-compatible with earlier
releases so I wouldn't depend on that.
--
Eric Botcazou
More information about the Java-patches
mailing list