This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c++ exceptions in shared library results in crash


On Thu, 2005-01-13 at 17:08, Dan Kegel wrote:
> Rainer Hochreiter wrote:
> >>Right, but what recipe did you use to build it?
> > 
> > 
> > was a long time ago, but i think i did it like described in
> > http://www.objsw.com/CrossGCC/FAQ.html
> 
> I don't recall that site having a cygwin recipe.
> ( Hey, that site now points to billgatliff.com!  But bill's site is down :-( )

agree - this site is down now for a few weeks ;-(

> > today i successfully built a new toolchain, with crosstool-0.28-rc37 using:
> >     binutils-2.15.tar.bz2
> >     cygwin-1.5.10-3-src.tar.bz2
> >     gcc-3.3.2.tar.bz2
> > 
> > the build process creates cygwin1.dll in:
> > $ ls -l /opt/crosstool/i686-pc-cygwin/gcc-3.3.2-/bin/cygwin1.dll
> > -rwxr-xr-x    1 raho     develop   7507764 Jan 13 09:23
> > /opt/crosstool/i686-pc-cygwin/gcc-3.3.2-/bin/cygwin1.dll
> > 
> > this is a real big dll, compared to the one installed by the cygwin setup
> > program:
> > $ ls -l /bin/cygwin1.dll
> > -rwxr-x---+    1 raho     develop   1153417 May 26  2004 /bin/cygwin1.dll
> > 
> > is this correct?
> 
> I confess I haven't tried it myself - the cygwin support was contributed by someone else.
> 
> > what now happens is, that i can't run the cross-compiled executables under
> > wine, cause wine tells me that it can't found cygwin1.dll even though i
> > added the new path in my wine-config;-(
> 
> You can't run cygwin programs in Wine.  Wine does not support cygwin.

you are wrong, cause i did it;-)
with my "poorly built" toolchain i got crosscompiled binaries running
under wine!

> 
> > the cross-compiled testprogram still crashes under native cygwin ;-(
> 
> Hey, but at least you now have an easy recipe for repeating the problem!
> Maybe the author of the cygwin support for crosstool can repeat the
> problem now, and see about a fix.  Steve?
> - Dan

Rainer


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]