bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compiling BASH on windows without cygwin not possible


From: Eric Blake
Subject: Re: compiling BASH on windows without cygwin not possible
Date: Mon, 29 Mar 2010 08:05:19 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100301 Fedora/3.0.3-1.fc12 Lightning/1.0b1 Thunderbird/3.0.3

On 03/26/2010 09:59 PM, Jim Michaels wrote:
> configure is a BASH script.  Am I not correct in stating that BASH requires 
> BASH to install?

No.  Bash requires a quasi-POSIX-conformant shell to be built, but can
be installed without the use of such a shell.  Your complaint that bash
cannot be bootstrapped on windows is not true.  You can build it on
another machine, using a cross-compiler, then copy the resulting
executable over.  And since bash is not the only shell that has been
ported to windows, you could start your bash-on-windows build by
installing another ported shell instead of bash.

> 
> windows does not come with any such sh shell.  and I need to be able to build 
> one from scratch.

You can obtain bash pre-built for windows by going to cygwin.com.

-- 
Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]