Share exception between shared lib and an application...

Elfyn McBratney elfyn-cygwin@exposure.org.uk
Sun Mar 30 22:53:00 GMT 2003


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



More information about the Cygwin mailing list