delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/15/20:49:29

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
Mime-Version: 1.0 (Apple Message framework v619.2)
In-Reply-To: <42604570.30804@roboros.com>
References: <425EF653 DOT 5000102 AT roboros DOT com> <425EFB09 DOT DECFA673 AT dessent DOT net> <42604570 DOT 30804 AT roboros DOT com>
Message-Id: <183f227cd298373f1afe6ebc661b556d@ida.org>
From: "Stone, Tim" <tstone AT ida DOT org>
Subject: Possible to create an X application not linked to cygwin1.dll?
Date: Fri, 15 Apr 2005 20:39:31 -0400
To: cygwin AT cygwin DOT com
X-OriginalArrivalTime: 16 Apr 2005 00:39:33.0145 (UTC) FILETIME=[C2037090:01C5421C]
X-IsSubscribed: yes



Greetings,

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?

thanks!
tim



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