delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/11/03:06:06

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: <40F0E6AA.6080202@luukku.com>
Date: Sun, 11 Jul 2004 10:05:14 +0300
From: Jani tiainen <redetin AT luukku DOT com>
User-Agent: Mozilla Thunderbird 0.7.1 (Windows/20040626)
MIME-Version: 1.0
To: Cygwin List <cygwin AT cygwin DOT com>
Subject: Re: Building DLL
References: <40EC1ECB DOT 2010700 AT emirates DOT net DOT ae> <441249594902 DOT 20040707183519 AT familiehaase DOT de> <40EEAFDC DOT 6060100 AT emirates DOT net DOT ae>
In-Reply-To: <40EEAFDC.6060100@emirates.net.ae>
X-IsSubscribed: yes

Maarten Boekhold wrote:
> 
> 
> Gerrit P. Haase wrote:
> 
>> You don't need .def files on Cygwin.  Just add -no-undefined to
>> libxyz_LDFLAGS.
> 
> 
> OK, I'm making progress with getting XFCE to compile under cygwin (with 
> help of one of the XFCE developers), but now we're running into the 
> following:
> 
> XFCE has a plugin mechanism, based on shared libraries. These plugins 
> use functions/symbols from the program that they 'plug in to'. I.e. if I 
> have appA, and libB is a plugin for appA, then libB contains calls that 
> are defined in appA.
> 
> How do I get this to work under cygwin? Obviously I can't link libB 
> against appA!

Done this, been there. And it's all possible.. =)

<http://sources.redhat.com/ml/cygwin/2003-12/msg01071.html>

You can use DLLTOOL to produce .def files from .exe if needed so you
don't have to do them by hand. But in most cases you just need few funcs
or variables it's simpler to write .def by hand.

-- 

Jani Tiainen


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