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]" To: "cygwin AT cygwin DOT com" , "'Yarin'" 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> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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/