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 Message-ID: Date: Wed, 30 Mar 2005 18:33:53 -0800 From: Matt Olson Reply-To: Matt Olson To: cygwin AT cygwin DOT com Subject: Re: Cannot link ___assert, __impure_ptr with -mno-cygwin In-Reply-To: <20050329184849.GG26627@trixie.casa.cgf.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <94BF3137C62D3E4CAED7E97F876585F07639A8 AT pauex2ku08 DOT agere DOT com> <20050329184849 DOT GG26627 AT trixie DOT casa DOT cgf DOT cx> X-IsSubscribed: yes On Tue, 29 Mar 2005 13:48:49 -0500, Christopher Faylor wrote: > On Tue, Mar 29, 2005 at 01:30:00PM -0500, Williams, Gerald S (Jerry) wrote: > >Matt Olson wrote: > >> Unfortunately, while "compile .o files with -mno-cygwin" fixes my toy > >> example, it doesn't help the real code I'm trying to build: > >[...] > >> If the problem is object files being compiled without -mno-cygwin and > >> linked with it, do I need to make sure that all of the (static?) > >> libraries I link with are also compiled with -mno-cygwin? > > > >Yes, that's no doubt what's going on. You are trying to link > >some object files that depend on the Cygwin runtime library > >and others that depend on the MinGW library. If you can, you > >should choose one or the other entirely, which should resolve > >your link issues. > > In general, you can't mix cygwin and non-cygwin libraries. Thanks, folks. What was mysterious is now mundane. Now to find a version of SDL that builds with Cygwin. Anyone have experience with that, just offhand? -- 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/