Hi,
Thanks very much. Danny could you check Vincent patches? Maybe there are
changes that have to applied also to the gcc 4.1 x86 toolchain.
Johnny
> >> I've not looked into this sufficiently, but I got a similar problem
> >> solved in src/mingwdll/libstdc++ by changing the Makefile like this
> :
> >>
> >> pavilion: {23} diff Makefile~ Makefile
> >> 18c18
> >> < DLL_LIBS= -lgcc # -lws2
> >> ---
> >>> DLL_LIBS= -lgcc -lgcc_s # -lws2
> >
> > we don't link with these libries we use:
> > LIBS += -lcoredll -lmingw32 -lmingwex -lws2 -lsupc++ -liphlpapi
> >
> >>From what I read from the web the compiler probably uses normal
> exception
> > instead of SJLJ exceptions
> >
>
> I had this kind of issue and I have solved it but don't remember how.
> Actually you should have a look at the patch I am using but from what I
> remember in gcc/config.gcc I have :
>
> arm-*-mingw32*)
> tm_file="${tm_file} arm/semi.h arm/aout.h arm/coff.h dbxcoff.h
> arm/pe.h
> arm/wince-pe.h arm/mingw32.h"
> xm_file=arm/xm-mingw32.h
> # This has to match the logic for DWARF2_UNWIND_INFO in
> gcc/config/arm/wince-pe.h
> if test x$sjlj = x0; then
> tmake_eh_file="i386/t-dw2-eh"
> else
> tmake_eh_file="i386/t-sjlj-eh"
> fi
> tmake_file="${tmake_file} ${tmake_eh_file} arm/t-arm arm/t-wince-
> pe
> arm/t-cygming arm/t-mingw32"
>
> in gcc/config/arm/mingw32.h
> ...
> /* This matches SHLIB_SONAME and SHLIB_SOVERSION in t-cygming. */
> /* This matches SHLIB_SONAME and SHLIB_SOVERSION in t-cygwin. */
> #if DWARF2_UNWIND_INFO
> #define LIBGCC_EH_EXTN "_dw2"
> #else
> #define LIBGCC_EH_EXTN "_sjlj"
> #endif
> #define LIBGCC_SONAME "libgcc_s" LIBGCC_EH_EXTN "-1.dll"
>
> in wince-pe.h:
> ...
> #undef DWARF2_UNWIND_INFO
> #define DWARF2_UNWIND_INFO 0
>
>
> And I have also modified some other files(but don't remember exactly
> which
> ones) to be as close as possible as mingw configuration.
>
> Would like to help more but my memory is a bit broken ...
> What you could do is to start from a new gcc-4.4 and apply my patch,
> report
> your x86 modification
> and try to compile.
> It may solve your issue but it's not guaranteed...
> If I have time I will update my trunk with latest mingw from cegcc and
> give
> you the URL to test it.
>
>
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________
Cegcc-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel