c++ exceptions in shared library results in crash

Steve Papacharalambous stevep@zee2.com
Fri Jan 14 09:18:00 GMT 2005


Hi Dan,

One thing I noticed from this is that the value for TOOLCOMBO when 
building a cygwin target cross toolchain is incorrect:

It is: gcc-3.3.2-
Should be: gcc-3.3.2-cygwin-1.5.10-3

I've attached a small patch to all.sh which fixes the problem,

Steve

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 
> :-( )
> 
>> 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.
> 
>> 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
> 

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: crosstool-0.28-rc37-cygfix.patch
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20050114/a4b9625b/attachment.ksh>
-------------- next part --------------
------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


More information about the crossgcc mailing list