Subject: Re: can't crossbuild arm on Solaris 10
To: matthew green <mrg@eterna.com.au>
From: Garrett D'Amore <garrett@damore.org>
List: tech-toolchain
Date: 06/19/2006 14:24:24
matthew green wrote:
>    
>    
>    
>    *** Failed target:  earmelf.c
>    *** Failed command: LIB_PATH='' /bin/sh
>    /home/garrett/netbsd/src/tools/binutils/../../gnu/dist/binutils/ld/genscripts.sh
>    /home/garrett/netbsd/src/tools/binutils/../../gnu/dist/binutils/ld
>    /import/meteor/tools/SunOS-i386/lib "/import/meteor/tools/SunOS-i386"
>    i386-pc-solaris2.10 arm--netbsdelf arm--netbsdelf "armelf_nbsd"
>    "/usr/local/lib /lib /usr/lib" no armelf "arm--netbsdelf"
>    *** Error code 1
>
>
> this invocation uses "$(SHELL)" to run the genscripts.sh script.  imo the
> solutions are to fix genscripts.sh to be portable again (possibly already
> done in binutils-cvs since solaris is a common host platform) or to
> arrange for SHELL to be set properly at this stage.
>
>
> .mrg.
>   

I don't care which approach is used. :-)  I tried getting $(SHELL) into
the environment, but without success.  If someone else can fix it, I'd
be grateful.   In the meantime, I can't easily build ARM tools and
therefore will not do the work to convert the ARM port in gdamore-uart
branch. :-)

    -- Garrett