This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] cygwin+bash: bash reorders script output bug identified/fixed


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@cygwin.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]