This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: unknown directives
- From: "Bill McEnaney" <bill at rkirkpat dot net>
- To: Ian Lance Taylor <iant at google dot com>, "Bill McEnaney" <bill at rkirkpat dot net>, gcc-help at gcc dot gnu dot org
- Date: Fri, 8 Feb 2008 10:19:42 -0700 (MST)
- Subject: Re: unknown directives
Thanks, Ian. I've built gcc-4.2.3 and installed it.
Ian Lance Taylor wrote:
> "Bill McEnaney" <bill@rkirkpat.net> writes:
>
> > Here are some messages that my Sun workstation printed when it tried to
> > build gcc-4.2.3. If "test" is an sh command, do I need a new version of
> > sh? What's wrong? Thanks a lot.
>
> It's a portability bug. The script was using the nonportable -ef
> option to test. This has been fixed in gcc 4.3.
>
> The fix seems to be to change this line in
> libjava/classpath/lib/gen-classlist.sh.in:
>
> if test ! "${top_builddir}" -ef "@top_srcdir@"; then
>
> to this:
>
> abs_top_builddir=`cd "${top_builddir}"; pwd`
> abs_top_srcdir=`cd "@top_srcdir@"; pwd`
> if test "$abs_top_builddir" != "$abs_top_srcdir"; then
>
> Ian
>
>
________________________________________________________________
Please visit a saintly hero:
http://www.jakemoore.org
And a boy with a wonderful wish:
http://shaneswish.com/