This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: trouble building gcc


Something else the occurred to me on the train home:

> Interix's shell (pdksh?) doesn't like that construct in the makefile
> (it's an environment expansion of a name based on an environment
> expansion with a default or similar).

There's another problem using the default interix shell - it doesn't play
nice with libtool's install script. Somewhere around line 4450 in a
generated ltmain.sh

  # libtool install mode
  install)
    modename="$modename: install"

    # There may be an optional sh(1) argument at the beginning of
    # install_prog (especially on Windows NT).
    if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
       # Allow the use of GNU shtool's install command.
       $echo "X$nonopt" | $Xsed | grep shtool > /dev/null; then

I think I had to add an extra 

    || test "$nonopt" = sh

in there. I don't think this is a problem if you use the bash binary I
linked.

In any case, I'll try and resurrect my interix3 build tree - and might even
get around to submitting patches for it! Let us know if you hit any more
problems.

Rup.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]