Re: [Cegcc-devel] tmpfile always returns NULL

2008-06-10 Thread Vincent Torri
> It seems that tmpfile() always returns NULL. I reply to myself. tmpfile() uses P_tmpdir as temporary directory, this macro being defined in stdio.h It is defined like that: #ifndef __STRICT_ANSI__ #define P_tmpdir"/tmp" #endif I think that this value is wrong for windows ce devices

Re: [Cegcc-devel] cegcc and binutils : attempt nb 2

2008-06-10 Thread Danny Backx
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, HINST

Re: [Cegcc-devel] tmpfile always returns NULL

2008-06-10 Thread Danny Backx
Thanks for pointing this out, I've changed it to "/temp" . Danny On Tue, 2008-06-10 at 14:28 +0200, Vincent Torri wrote: > > It seems that tmpfile() always returns NULL. > > I reply to myself. tmpfile() uses P_tmpdir as temporary directory, this > macro being defined in stdio.h > > It

Re: [Cegcc-devel] gnuwince project ala gnuwin32 ?

2008-06-10 Thread Danny Backx
Yes, please do. Danny On Mon, 2008-06-09 at 07:44 +0200, Vincent Torri wrote: > Danny, > > Any comment to add, here ? Do you want me to start with zlib, so that > there is an example of such port on which we can discuss if it's correct > or not ? > > Vincent Torri > > > On Wed, 16 Ap