delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/05/20:17: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://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
To: cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: "Hans Horn" <hannes AT 2horns DOT com>
Subject: Re: .dll.a, .dll files and other questions
Date: Thu, 5 Dec 2002 17:19:27 -0800
Lines: 67
Message-ID: <asotr6$em3$1@main.gmane.org>
References: <F180xLfkSpdVyxX81He00002ab8 AT hotmail DOT com>
NNTP-Posting-Host: p1.almaden.ibm.com
X-Trace: main.gmane.org 1039137447 15043 198.4.83.52 (6 Dec 2002 01:17:27 GMT)
X-Complaints-To: usenet AT main DOT gmane DOT org
NNTP-Posting-Date: Fri, 6 Dec 2002 01:17:27 +0000 (UTC)
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

Elfyn,

those links on (http://cygwin.com/docs.html) describing how to build dlls
seem to be utterly outdated.
I was digging thru the doc trying to figure out how to build dlls myself and
found much of conflicting information.

can you point me to some info about to build dlls using "state-of-the-art"
cygwin/gcc?
in particular I'm interested in how to build dlls that use system wide win32
hooks.

thx a lot.
Hans


today's cygwin
"Elfyn McBratney" <emcb_exposure AT hotmail DOT com> wrote in message
news:F180xLfkSpdVyxX81He00002ab8 AT hotmail DOT com...
> Hi,
>
> >Hi folks,
> >
> >Just had a couple of questions.  Attempting to head off a problem at
> >the pass...
> >
> >When using gcc -shared, what is default output (ie. what is expected
>from
> >gcc -shared in order to read the .dlls/shared files) by Cygwin?
>
> Im not sure exactly what you mean. The gcc `-shared' option compiles
shared
> objects (in this case dll's). If you mean something like `gcc -shared
foo.o
> bar.o ...' then gcc expects object code.
>
> There's a section (few links at the bottom) in the online documentation
> (http://cygwin.com/docs.html) which goes through how to create dll's.
>
> >
> >Second question:  If g++ -shared is used will the output .dll/shared
> >files be loadable and/or useable by Win32 api?
> >
> >Finally, I realize that if g++ -shared, if used, is likely going to
> >generate name mangled .dlls that can not be read/loaded properly by the
> >win32api.
> >
> >Is that still true for Cygwin?
> >
> >Thanks,
> >
> >Paul G.
> >
> >--
> >Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> >Bug reporting:         http://cygwin.com/bugs.html
> >Documentation:         http://cygwin.com/docs.html
> >FAQ:                   http://cygwin.com/faq/
>
>
> _________________________________________________________________
> Tired of spam? Get advanced junk mail protection with MSN 8.
> http://join.msn.com/?page=features/junkmail
>
>





--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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