delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/30/16:37:08

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
X-AuthUser: gerrit:koeln.convey.de
Date: Sun, 30 Mar 2003 23:40:47 +0200
From: "Gerrit P. Haase" <gp AT familiehaase DOT de>
Organization: Esse keine toten Tiere
X-Priority: 3 (Normal)
Message-ID: <95377167748.20030330234047@familiehaase.de>
To: Vaillant Etienne <vaillant DOT etienne AT noos DOT fr>
CC: cygwin AT cygwin DOT com
Subject: Re: Share exception between shared lib and an application...
In-Reply-To: <3E874D34.2050805@noos.fr>
References: <20030330200059 DOT 6c0e0d19 DOT steven DOT obrien2 AT ntlworld DOT com>
<3E874D34 DOT 2050805 AT noos DOT fr>
MIME-Version: 1.0

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?

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.


Gerrit
-- 
=^..^=


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