Danny Backx wrote:

>On Mon, 2006-12-18 at 11:56 +0000, Pedro Alves wrote:
>  
>
>>[EMAIL PROTECTED] wrote:
>>    
>>
>>>Revision: 839
>>>          http://svn.sourceforge.net/cegcc/?rev=839&view=rev
>>>Author:   dannybackx
>>>Date:     2006-12-17 10:59:59 -0800 (Sun, 17 Dec 2006)
>>>
>>>Log Message:
>>>-----------
>>>Rewrite gmon.c to use native WinCE I/O. Stdio doesn't work well when
>>>used in an atexit handler.
>>>
>>>      
>>>
>>But, we now have write/read/open/close as thin wrappers around ReadFile,
>>CreateFile, etc.  Why not use that?  That would remove most of the
>>#ifdef UNDER_CE machinery.
>>
>>Cheers,
>>Pedro Alves
>>    
>>
>
>That worked for mingw32ce, but I was getting bitten, I believe, by
>newlib and its atexit handler.
>
>  
>

>You're welcome to dig deeper if you like (I didn't pinpoint the exact
>problem) but it works now and it's just a few lines of code.
>
>  
>

Sure, It was just a suggestion.  Better have it working first.  Nice.

Cheers,
Pedro Alves


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to