From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22852 invoked by alias); 26 May 2011 20:05:15 -0000 Received: (qmail 22771 invoked by uid 22791); 26 May 2011 20:05:13 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from out3.smtp.messagingengine.com (HELO out3.smtp.messagingengine.com) (66.111.4.27) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 26 May 2011 20:04:59 +0000 Received: from compute2.internal (compute2.nyi.mail.srv.osa [10.202.2.42]) by gateway1.messagingengine.com (Postfix) with ESMTP id 7267920A19 for ; Thu, 26 May 2011 16:04:59 -0400 (EDT) Received: from frontend1.messagingengine.com ([10.202.2.160]) by compute2.internal (MEProxy); Thu, 26 May 2011 16:04:59 -0400 Received: from [158.147.67.90] (158-147-67-90.harris.com [158.147.67.90]) by mail.messagingengine.com (Postfix) with ESMTPSA id 2AF46400B6C; Thu, 26 May 2011 16:04:59 -0400 (EDT) Message-ID: <4DDEB26B.1080509@cwilson.fastmail.fm> Date: Thu, 26 May 2011 20:05:00 -0000 From: Charles Wilson Reply-To: Charles Wilson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: Cygwin and Windows Paths Leaking Through References: <31711163.post@talk.nabble.com> In-Reply-To: <31711163.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-05/txt/msg00407.txt.bz2 On 5/26/2011 3:32 PM, sweinberger wrote: > Cygwin is supposed to provide an isolated environment totally shielding > applications that run on the inside from even knowing that a Windows > anything exists. I don't know where you got that idea. It's perfectly fine to use w32api functions in combination with cygwin/posix ones -- how do you think mintty works? -- although you do need to be careful mixing stuff like posix select() and w32 WaitFor*(). > That dmake and now something in genscripts does not, means > that the Cygwin wall has some holes. > > gcc -DHAVE_CONFIG_H -I. -I. -I. -I../bfd -I./../bfd -I./../include -g -O2 > -DENABLE_PLUGINS -DLOCALEDIR="\"/usr/local/share/locale\"" -W -Wall > -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT > ldemul.o -MD -MP -MF .deps/ldemul.Tp > o -c -o ldemul.o ldemul.c ^^^^^^^^^^^^^^^^^ Here's your problem: binutils and gcc don't support compiling "in the source tree". You need to create a separate, empty build directory *outside* the src directory, and run configure/make in there. Dunno about your dmake problems, someone else will have to address that. -- Chuck -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple