Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <012101c2f705$73704570$646086d9@ellixia>
Reply-To: "Elfyn McBratney" <elfyn-cygwin@exposure.org.uk>
From: "Elfyn McBratney" <elfyn-cygwin@exposure.org.uk>
To: "cygwin" <cygwin@cygwin.com>
References: <20030330200059.6c0e0d19.steven.obrien2@ntlworld.com> <3E874D34.2050805@noos.fr> <95377167748.20030330234047@familiehaase.de>
Subject: Re: Share exception between shared lib and an application...
Date: Sun, 30 Mar 2003 22:43:48 +0100
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300

> Hallo Vaillant,
>
> Am Sonntag, 30. März 2003 um 22:01 schriebst du:
>
> > Well,
>
> > I use autoconf, automake and libtool...
>
> I did:
> $ aclocal
> $ libtoolize --force --copy --automake
> $ autoheader
> $ automake --foreign --add-missing --copy
> $ autoconf
> $ ./configure
> $ make
> $ cd src
> $ cp exe2.exe .libs
> $ cd .libs
> $ ./exe.exe
> Segmentation fault (core dumped)
> $ ./exe2.exe
> Invalid Argument
>
> Hmmm.
>
> Now I removed this line from configure.in:
> AC_PREREQ(2.13)
> and did the same as above, now I see:
> $ cd src
> $ cp exe2.exe .libs
> $ cd .libs
> $ ./exe.exe
> Invalid Argument
> $ ./exe2.exe
> Invalid Argument
>
> And there is an additional exe.exe in the src directory,
> but I'm not sure what it is good for or where it does came
> from?

I think that's from the libtool wrapper magic Charles introduced in the
latest libtool...

> Seems to work for me.
>
> In general it is a good idea to use libtool-devel on Cygwin
> (instead of the (deprecated) libtool-1.4.3) together with the
> autoconf-devel and automake-devel packages.


Regards,

Elfyn McBratney
elfyn@exposure.org.uk
www.exposure.org.uk



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

