This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: tmpfile returns always NULL with Windows CE




I'm compiling programs for Windows CE using CEgcc. That toolchain uses newlib as libc.

on my ipaq, and tmpfile returns always NULL.

actually, I think that I have found the problem. tmpfile() uses P_tmpdir which is defined in stdio.h. And in cegcc, it is defined with "/tmp", like on unix. If I create the directory "\tmp" on my windows ce device, it works.


I mentioned that in the cegcc ML.

Sorry for the noise :)

Vincent Torri


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]