delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/15/23:28:41

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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: Fri, 15 Apr 2005 23:28:33 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT 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 AT cygwin DOT com
References: <425EF653 DOT 5000102 AT roboros DOT com> <425EFB09 DOT DECFA673 AT dessent DOT net> <42604570 DOT 30804 AT roboros DOT com> <183f227cd298373f1afe6ebc661b556d AT ida DOT org>
Mime-Version: 1.0
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 AT sourceware DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019