Abdelrazak Younes wrote: > Jean-Marc Lasgouttes a écrit : >>>> buf->lyxrc.C: tempdir_path = "/tmp"; >> >> It seems that this one is overwritten in LyX::init() anyway. Remove it. > > Should I update my patch with this and commit it?
I think so, but you should leave out the changes in createLyXTmpDir(). (chicken and egg problem). The tests for /tmp in createLyXTmpDir() ensure that no attempt is made to create /tmp (if somebody specifies that as temporary directory). One could of course add C:\\TEMP there if that is needed, or maybe invent some more general test. >> What are the preprocessor macros that say we are in cygwin -mnocygwin >> mode? This is what we have to test for. > > I think there are none in current svn, 'configure' configure for cygwin > when executed from there. But it would be great if the same settings as > (msys+mingw) were applied (directory structure, etc). Maybe a > -with-mingw option? I would prefer automatic detection. Are you sure that gcc does not have some define that is set with -mnocygwin? Georg