Please stop mailing to Pedro and me, use the mailing list instead.

        Danny

On Mon, 2008-06-09 at 22:46 +0200, Vincent Richomme wrote:
> Hum I have tested the following code and it seems to work with cegcc so
> forget what I said about exceptions :
> 
> int WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine,
> int nCmdShow)
> {
>   int i = 22;
> 
>   try
>   {
>     throw i;
>   }
>   catch (const int &e)
>   {
>     MessageBoxW(0, L"HELLO!", L"H3LLO!", 0);
>   }
> 
>  return 0;
> }
> 
> I told that because when I disassemble binary I cannot see any pdata
> section as described in MSDN...
> I really don't understand how exceptions are handled but it seems to work.
> 
> Another suggestion, wouldn't be easier to have only one target and to
> implement missing posix functions using mingw?
> Actually I have developped something like that under Visual, I have even
> ported getenv, setenv, ...
> 
> 
> 
> 
> 
> 
> 
> 
> On Mon, 09 Jun 2008 21:05:57 +0200, Danny Backx <[EMAIL PROTECTED]>
> wrote:
> > I have a patch almost ready for inclusion in binutils that'll make
> > objdump print the exception handlers if you're using the compressed PE
> > format.
> > 
> > Vincent's mail (I got a private one, maybe you did too) made me realize
> > that somehow I didn't do the last step in the process : I've worked on
> > an initial implementation, then asked the binutils maintainer how to
> > properly write it, then did that, and I'm thinking some other activity
> > distracted me then, so I didn't submit it.
> > 
> > I'll pick it up again ...
> > 
> >     Danny
> > 
> > On Mon, 2008-06-09 at 19:58 +0100, Pedro Alves wrote:
> >> A Monday 09 June 2008 19:32:21, Vincent Richomme wrote:
> >> > Hi, I am currently working on a project and I need to use cegcc and a
> >> > recent version of binutils.
> >> > What I don't understand is why don't you put your modifications about
> >> > compressed PE into GCC ?
> >> >
> >> > It would be easier...
> >> > Would you mind to repôrt it ? have you particular reason ?
> >>
> >> Sorry, I can't make sense on what you're asking:
> >>
> >>  - Why do you need a newer binutils?  What feature are you missing ?
> >>  - What's compressed PE, and what GCC are you talking about?  FSF GCC ?
> >>  - What't repôrt ?
> >>
> >>  - To all the questions, I'm sure my answer will unfortunatelly
> >>    be: lack of time for now.  :-(
> >>
> > --
> > Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info
-- 
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to