X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 	tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
X-IronPortListener: Outbound_SMTP
From: "Buchbinder, Barry (NIH/NIAID) [E]" <BBuchbinder@niaid.nih.gov>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>, "'Yarin'" <yarin@cluemail.com>
Date: Tue, 12 May 2009 09:48:10 -0400
Subject: RE: Can't run Bash!
Message-ID: <0105D5C1E0353146B1B222348B0411A2A400044C@NIHMLBX02.nih.gov>
References: <23494205.post@talk.nabble.com>
In-Reply-To: <23494205.post@talk.nabble.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Yarin wrote on Monday, May 11, 2009 8:27 PM:
> I'm trying to compile Linux binaries on Windows. To do this, I've
> downloaded and installed Cygwin (along with it's GCC packages).=20

You are a bit ambiguous here.  Are you trying to compile "linux
binaries" of POSIX code?  For that you need a cross-compiler (about
which I know nothing).

Or are you trying to compile Windows binaries of POSIX code that is
often found on Linux systems?  In which case, you want to do
something like this.

  $ tar -xvf package-ver.tar.gz
  $ cd package-ver
  $ ./configure
  $ make
  $ make install

> It doesn't recognize the command su,

See the FAQ: Why doesn't su work?
http://cygwin.com/faq/faq-nochunks.html#faq.using.su

> I'm confronted with this:
> bash-3.2$ _

> and it doesn't begin with x@x

You are getting bash's default prompt.  See=20
  $ man bash
for how and where to customize your prompt.  (Though Gary Johnson's
advice about using a login shell may address the issue.)

I hope this helps.

- Barry

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

