delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/12/09:48:38

X-Recipient: archive-cygwin AT delorie DOT 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 AT niaid DOT nih DOT gov>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>, "'Yarin'" <yarin AT cluemail DOT com>
Date: Tue, 12 May 2009 09:48:10 -0400
Subject: RE: Can't run Bash!
Message-ID: <0105D5C1E0353146B1B222348B0411A2A400044C@NIHMLBX02.nih.gov>
References: <23494205 DOT post AT talk DOT nabble DOT com>
In-Reply-To: <23494205.post@talk.nabble.com>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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 AT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019