delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/18/16:31:45

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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: <3EA060D7.2070903@nordrhein.de>
Date: Fri, 18 Apr 2003 22:32:23 +0200
From: Armin Diehl <diehl AT nordrhein DOT de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4a) Gecko/20030401
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: dll creation
References: <3EA02548 DOT 8040308 AT nordrhein DOT de> <Law10-OE40ivee6v3xk000050df AT hotmail DOT com>
In-Reply-To: <Law10-OE40ivee6v3xk000050df@hotmail.com>

Christopher,

thanks for your answer!

 >If you're calling a cygwin DLL from a non-cygwin app, that just won't
 >work.
Does that mean it will work if the main application is a cygwin linked 
app ? (and what about dynamicly loading the dll via loadLibrary)

 >If your application is really just as simple as the above, you might 
 >want to investigate either using MinGW (www.mingw.org) or using the 
 >-mno-cygwin option to gcc.
no it is not ;-) I'm trying to use gcc in a dll. I think gcc will not 
work with mingw. I have to use a dll because the borland compiler i'm 
using uses a different format for objects and can not link the objects 
generated by gcc.
I will try if it works if the main program is a cygwin one, than my 
application could be in a dll. (Or the main program could be gcc and my 
application is in a dll)



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