Using Cygwin to compile on Windows 64-bit OS

I am trying to compile MPFR using GCC and Cygwin. When I set CFLAGS=-m64, I get an error stating "c compiler cannot create executables"

I am on Windows 7 (64-bit)

Why would I get this error?
Who is Participating?
You might not like that, but it seems that '-m64' is unsupported on Cygwin, see
Why not visual studio C compiler with MinGW make?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.