This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Share exception between shared lib and an application...
- From: "Gerrit P. Haase" <gp at familiehaase dot de>
- To: Vaillant Etienne <vaillant dot etienne at noos dot fr>
- Cc: cygwin at cygwin dot com
- Date: Sun, 30 Mar 2003 23:40:47 +0200
- Subject: Re: Share exception between shared lib and an application...
- Organization: Esse keine toten Tiere
- References: <20030330200059.6c0e0d19.steven.obrien2@ntlworld.com><3E874D34.2050805@noos.fr>
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/