On Thursday 03 March 2011 01:16:02 Jeff Gilchrist wrote:
> These all passed with C++ enabled:
> 
> - 64bit Core2 MSVC 2010 build on Windows 7 Ultimate SP1 64bit
> - 32bit P4 MSVC 2010 build on Windows 7 Ultimate SP1 64bit
> 
> - 64bit k8-unknown-linux-gnu GCC version 3.4.6
> - 32bit (ABI=32) k8-unknown-linux-gnu GCC version 3.4.6
> 
> - 64bit penryn-unknown-linux-gnu ICC version 11.0
> 
> It seems I can't make a 32bit library with ICC for some reason using
> ABI=32.  I get this error:
> checking compiler icc -O2 has sizeof(long)==4... no
> configure: error: could not find a working compiler, see config.log for
> details
> 
> From config.log:
> configure: testlist sizeof-long-4
> configure:6510: checking compiler icc -O2 has sizeof(long)==4
> configure:6523: icc -O2 -c conftest.c >&5
> conftest.c(4): error: the size of an array must be greater than zero
>     static int test_array [1 - 2 * (long) (sizeof (long) != 4)];
>                            ^
> compilation aborted for conftest.c (code 2)
> configure:6526: $? = 2
> configure:6531: result: no
> configure:6573: error: could not find a working compiler, see
> config.log for details

it fails because sizeof(long)=8 still

Did this work before on previous MPIR's ?
You could try CFLAGS=-m32 +whatever

Thanks for the reports.
Jason

PS Have you tried the new MinGW64 , they do seem pretty stable now :)

-- 
You received this message because you are subscribed to the Google Groups 
"mpir-devel" group.
To post to this group, send email to mpir-devel@googlegroups.com.
To unsubscribe from this group, send email to 
mpir-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/mpir-devel?hl=en.

Reply via email to