Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Fri, 15 Apr 2005 23:28:33 -0400
From: Christopher Faylor <cgf-no-personal-reply-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Possible to create an X application not linked to cygwin1.dll?
Message-ID: <20050416032833.GC32107@trixie.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
References: <425EF653.5000102@roboros.com> <425EFB09.DECFA673@dessent.net> <42604570.30804@roboros.com> <183f227cd298373f1afe6ebc661b556d@ida.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <183f227cd298373f1afe6ebc661b556d@ida.org>
User-Agent: Mutt/1.5.8i

On Fri, Apr 15, 2005 at 08:39:31PM -0400, Stone, Tim wrote:
>I have ported an X application to cygwin/gcc.   It runs well under
>the X server xwin.
>
>When I compile, I link up with libX11.
>
>Then I end up my app being linked to cygwin1.dll since libX11
>depends on cygwin1.dll.
>
>I need to distribute this application, but I cannot make it open
>source.  Those I distribute it to would download cygwin and use xwin.
>
>I'm under the impression I cannot do this due to my app -> libX11 -> 
>cygwin1.dll.
>Is that correct?
>
>I notice that only the X11 lib has this dependency (not Xm or Xpm).
>
>I have tried using the -mno_cygwin flag to gcc to compile the app,
>but this still ends up with the X11 -> cygwin1.dll dependency.
>
>Is there any way to compile an app that needs X11 and not be linked
>to cygwin1.dll?  Is there another X11 available, for instance?

<broken record>Why would you be asking how to not use cygwin in a list
that is devoted to cygwin?</broken record>

No, you can't do what you want to do.  You could ask about this in the
win32-x11@sourceware.org mailing list, however.  This topic certainly
has nothing to do with this mailing list.

cgf

--
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/

