Re: Building with the mingw cross compiler

2010-11-25 Thread Daniel Stonier
On 25 November 2010 15:41, Bojan Smojver bo...@rexursive.com wrote: On Thu, 2010-11-25 at 15:16 +0900, Daniel Stonier wrote: ac_cv_sizeof_off_t=4^M ac_cv_sizeof_pid_t=4^M Are you saying that these are \r (ASCII 13) characters? This could be related to fprintf() from the test printing out

Re: Building with the mingw cross compiler

2010-11-25 Thread Bojan Smojver
Ok, so this is confusing me a little - how would it even run a test being a mingw cross compiled program (host is linux)? Honest answer is that I never even tried this (I only ever compile APR on Unix/Linux). I just see in my configure script that under certain circumstances these code

Re: Building with the mingw cross compiler

2010-11-25 Thread Daniel Stonier
On 25 November 2010 19:34, Bojan Smojver bo...@rexursive.com wrote: Ok, so this is confusing me a little - how would it even run a test being a mingw cross compiled program (host is linux)? Honest answer is that I never even tried this (I only ever compile APR on Unix/Linux). I just see in my

Building with the mingw cross compiler

2010-11-24 Thread Daniel Stonier
I'm using a mingw cross compiler from http://mingw-cross-env.nongnu.org/ to try and build the apache runtimes. Apr would fail in the configure stage though: checking which type to use for apr_off_t... configure: error: could not determine the size of off_t My config.log showed the problem:

Re: Building with the mingw cross compiler

2010-11-24 Thread Bojan Smojver
On Thu, 2010-11-25 at 15:16 +0900, Daniel Stonier wrote: ac_cv_sizeof_off_t=4^M ac_cv_sizeof_pid_t=4^M Are you saying that these are \r (ASCII 13) characters? This could be related to fprintf() from the test printing out \r\n instead of just \n on your platform. Maybe the file should be opened