Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Date: Wed, 7 Aug 2002 11:04:09 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com, bug-bash AT gnu DOT org Subject: Re: [PATCH] cygwin+bash: bash reorders script output bug identified/fixed Message-ID: <20020807110409.V3921@cygbert.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com, bug-bash AT gnu DOT org References: <3D4F758C DOT 4010109 AT colorfullife DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D4F758C.4010109@colorfullife.com> User-Agent: Mutt/1.3.22.1i On Tue, Aug 06, 2002 at 09:06:52AM +0200, Manfred Spraul wrote: > * defining RECYCLES_PIDS in execute_cmd.c solves the problem. > [...] While creating the new bash version for the Cygwin net distribution, I found that `configure.in' defines -luser32 as additional linker flag when building for Cygwin. This isn't necessary. gcc for Cygwin adds that library automatically through it's specs file. So the patch I've applied to the bash for the next Cygwin version is this one: --- configure.in.ORIG 2002-08-07 10:59:07.000000000 +0200 +++ configure.in 2002-08-07 10:49:00.000000000 +0200 @@ -851,7 +851,7 @@ lynxos*) LOCAL_CFLAGS=-DRECYCLES_PIDS ;; linux*) LOCAL_LDFLAGS=-rdynamic ;; # allow dynamic loading *qnx*) LOCAL_CFLAGS="-Dqnx -F -3s" LOCAL_LDFLAGS="-3s" LOCAL_LIBS="-lunix -lncurses" ;; powerux*) LOCAL_LIBS="-lgen" ;; -cygwin*) LOCAL_LIBS="-luser32" ;; +cygwin*) LOCAL_CFLAGS="-DRECYCLES_PIDS" ;; opennt*|interix*) LOCAL_CFLAGS="-DNO_MAIN_ENV_ARG -DBROKEN_DIRENT_D_INO" ;; esac Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/