delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/14/10:17:42

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <003d01c0dc80$56ae1df0$0200a8c0@lifelesswks>
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: "Ralf Habacker" <Ralf DOT Habacker AT saght DOT tessag DOT com>,
"Cygwin" <cygwin AT cygwin DOT com>
Cc: "Alan Hourihane" <alanh AT fairlite DOT demon DOT co DOT uk>
References: <003401c0dc7c$5509b990$6e032bb7 AT BRAMSCHE>
Subject: Re: Status of cygwin KDE project - beta version of dll based qt 2.3.0 library is running
Date: Tue, 15 May 2001 00:15:31 +1000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
X-OriginalArrivalTime: 14 May 2001 14:08:58.0592 (UTC) FILETIME=[6B52CE00:01C0DC7F]

Could you provide the source for your DLLMain?

Rob

----- Original Message -----
From: "Ralf Habacker" <Ralf DOT Habacker AT saght DOT tessag DOT com>
To: "Cygwin" <cygwin AT cygwin DOT com>
Cc: "Alan Hourihane" <alanh AT fairlite DOT demon DOT co DOT uk>
Sent: Monday, May 14, 2001 11:46 PM
Subject: AW: Status of cygwin KDE project - beta version of dll based qt
2.3.0 library is running


> Hi Alan,
>
> in the last mail I have written, that you only need -shared to
generate such
> a lib.
>
> For big libs with C++ code such kde I have used a special startup
routine
> DLLMain which does some cygwin specific initialisations in libs.
> Without that, an segment violation occurred on exiting such
applications.
> Perhaps there is another way I dont know about.
>
> At second I've used .... -Wl,--whole archive
$(OBJS) -Wl,--no-whole-archive
> $(DEPENDED_LIBS) .... command parameters to import all symbols in my
object
> files, otherwise the linker eliminates not used functions.
>
> Regards
>
> Ralf Habacker
> EMail: Ralf AT habacker DOT de
>        Ralf DOT Habacker AT saght DOT tessag DOT com
>
> > -----Ursprüngliche Nachricht-----
> > Von: Alan Hourihane [mailto:alanh AT fairlite DOT demon DOT co DOT uk]
> > Gesendet am: Donnerstag, 10. Mai 2001 11:42
> > An: Ralf Habacker
> > Betreff: Re: Status of cygwin KDE project - beta version of dll
based qt
> > 2.3.0 library is running
> >
> > On Wed, May 09, 2001 at 03:37:28PM +0200, Ralf Habacker wrote:
> > > Hi,
> > > I have check this too and my client programm runs
> > >
> > > $ ./client
> > > Dll sees var=123
> > > we see var=123
> > > setting var=456
> > > Dll sees var=456
> > > we see var=456
> > >
> > > Dll sees var=90
> > > we see var=90
> > >
> > > Dll sees foo=9
> > > we see foo=9
> > > setting foo=19
> > > Dll sees foo=19
> > > we see foo=19
> > >
> > > Calling dllimported function pointer:
> > > Dll sees foo=19
> > >
> > Thanks Ralf.
> >
> > When you build KDE, are there any other options you pass to the
linker
> > apart from -Wl,--imp-outlib,libxxx.a ?
> >
> > Do you enable '--enable-auto-image-base' or '--enable-dynamic' ?
> >
> > Alan.
> >
>
>
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple
>
>


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019