I've had a closer look at this, and ICC definitely supports the gas format
assembly and the constraints and modifiers that gas does.
But taking a closer look, you say that you are experiencing this with the
Intel Compiler for Win32 on an x64 machine.
The compiler and assembler need to be matching
We aren't having any issues with MSYS2 or MSVC, so this appears to be an
ICC only problem.
Since I don't have a copy of ICC, I would advise taking the issue up with
Intel.
Their compiler defines __GNUC__ as it is basically supposed to do what GCC
will do. Who knows, they might consider it to be a
Actually, I just realised that you are doing the build under MSVC and on
Windows. So running configure obviously isn't possible.
MSVC is probably using specially prepared versions of longlong.h for MSVC
on Windows 32.
I'm guessing MSVC just ignores code for GCC. But ICC pretends to be GCC.
Brian
longlong.h hasn't changed between 2.6.0 and master.
The file longlong.h is also constructed by configure on the machine in
question. So if there are x64 constraints in longlong.h, it is because it
wasn't configured for the correct machine.
If you could compile MPIR from the current master branch
Yes, same ICC builds 2.6.0 in win32 configuration without any issues.
Actually 2.7.0 also compiles fine in x64 by the same compiler.
Issue appears only in win32 mode.
As I see from the Brian scripts, x64 uses different longlong.h (?)
--
You received this message because you are subscribed to th
Does 2.6.0 work for you Pavel?
I wonder what changed in longlong.h from 2.6.0 to 2.7.0. I can't recall
what changes we made, if any.
It sounds like GNU extensions might be being used in the inline assembly
which aren't supported by the Intel compiler (at least the version you are
using).
I do re
Hi Brian,
Thank you very much for your response.
Unfortunately I have no much experience with the issue as well.
I'll switch back to 2.6.0 for my win32 projects.
Best regards,
Pavel.
On Sat, Feb 28, 2015 at 12:44 AM, Brian Gladman
wrote:
> On 27/02/2015 09:50, Pavel Holoborodko wrote:
> > I
On 27/02/2015 09:50, Pavel Holoborodko wrote:
> I am trying to compile MPIR-2.7.0-alpha12 on Windows 7 x64 using MSVC
> 2010 and Intel Compiler 14.0 (latest version) for Win32.
> The base project is "lib_mpir_p3" in build.vc10\mpir.sln
>
> Intel Compiler gives following warnings/error:
[snip detai
I am trying to compile MPIR-2.7.0-alpha12 on Windows 7 x64 using MSVC 2010
and Intel Compiler 14.0 (latest version) for Win32.
The base project is "lib_mpir_p3" in build.vc10\mpir.sln
Intel Compiler gives following warnings/error:
sb_div_qr.c(112): warning #1202: illegal character e in asm opera