delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/01/14/13:18:00

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
Message-ID: <41E80CC2.1080502@familiehaase.de>
Date: Fri, 14 Jan 2005 19:17:38 +0100
From: "Gerrit P. Haase" <gp AT familiehaase DOT de>
Organization: Esse keine toten Tiere
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.7.3) Gecko/20040910
MIME-Version: 1.0
To: "Barthel, Mattias" <mattias DOT barthel AT hp DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: DLL's
References: <4DEA5E615F52DD4F9D9C6C2D70FCE63B016EE9CD AT esmexc02 DOT emea DOT cpqcorp DOT net>
In-Reply-To: <4DEA5E615F52DD4F9D9C6C2D70FCE63B016EE9CD@esmexc02.emea.cpqcorp.net>
X-IsSubscribed: yes

Barthel, Mattias wrote:
> Hello!
> 
> I am compiling stuff on cygwin but with -mno-cygwin
> to make the produced software independent of cygwin itself.
> 
> The DLL's that you can download from the setup of cygwin 
> are all dependent of cygwin1.dll?

There are two packages containing no-cygwin DLLs, mingw-zlib and 
mingw-bzip2.

> I would like to use for example lcms that you can install
> directly over the network from cygwin's webpage. 
> On the home page of little cms there is also a windows DLL to download.
> The thing is when trying to link my program towards the
> "pure" windows DLL I get undefined references and also "nm" says
> "no symbols found" over that DLL.
> The linkeage towards the DLL's from cygwin works well
> But I am afraid that I have achieved nothing but a 
> cygwin dependent program then.
> 
> Any help greatly appreceiated.

Have you tried to create an import library?  See mingw.org FAQ and
the mailing list archives (cygwin & mingw), both should contain various
recipes how to create an import library.  This is also covered in the
cygwin user guide.

you may also try to build lcms yourself, get the cygwin package, read
/usr/share/doc/lcms.README and the add -mno-cygwin to MY_CFLAGS *and*
to the MY_LDFLAGS variables in the buildscript.


HTHs,
Gerrit
-- 
=^..^=

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