On Sat, 19 Sep 2009 11:17:22 +0200 (CEST), Vincent Torri
<vto...@univ-evry.fr> wrote:
> On Sat, 19 Sep 2009, Vincent R. wrote:
> 
>> On Fri, 18 Sep 2009 20:15:05 +0200, Danny Backx
<danny.ba...@scarlet.be>
>> wrote:
>>> Trying to assemble a list of things to do. Please help me make it
>>> sensible.
>>>
>>> Also, volunteers are welcome to kick in ;-)
>>>
>>> Note that making gcc 4.4 stable is not on this list, I see no
complaints
>>> so the new release must work. Right ?
>>>
>>> 1. I'm slowly working on gdb improvements for accepting dos style
paths
>>>    so it recognizes DLL names with paths.
>>> 2. There's an open issue with DLLs and atexit, but nobody has
complained
>>>    yet. The atexit needs to be improved so DLL shutdown happens in the
>>>    right order. This is well documented and not very hard but needs to
>>>    be done. Volunteers ?
>>> 3. The WM 6.1 issue.
>>>    Kai Tietz has given me his patch, I need to look into it.
>>>    I would very much welcome people to help with this.
>>> 4. Objective C
>>> 5. Port exception handling to gcc 4.4
>>> 6. The profile lib on x86
>>> 7. Website
>>> 8. Update to the FAQ
>>>

Hello,

Another thing on the TODO list is to work a bit more on cegcc patches
and especially because I think it's a bit too far from cygwin/mingw.
For instance I wanted to test Dw2 exception on wince platform and from
what I know
normally you only need to call configure with --with-dwarf2 and it will
define DWARF2_DEBUGGING_INFO but it doesn't work on cegcc.


When I compare with the first cegcc-4.4 version I made I can ses the
following differences :

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"

gcc/config.gcc
------------------------
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"



gcc/config/arm/t-wince-pe (delete following lines)
-------------------------
# Version for mingw32ce
SHLIB_LC = -lmingw32 -lmingwex -lceoldname -lcoredll
# Version for cegcc
#SHLIB_LC = -lc -lcoredll

# This should go somewhere else.
# We are using SjLj EH.
EH_MODEL = sjlj


I tried to report my changes but it breaks cegcc so I hope that someone
with a good gcc knowledge will
have a look one day.








------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to