This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC compiler -m64 option in cygwin

2009/2/5 rajeevs:
> please go through the followings for the problem:
> 1)      I want to create a 64 bit DLL using Cygwin in Windows Serever 2003
> 64 bit platform.
> 2)      I am using Cygwin to run the make file
> 3)      In the make file I have a macro "CFLAGS" where gave the option
> "-m64" in the make file for 64 bit build
> 4)      But when I use this option I am getting an error like:
> $ make -f makefile_64
> g++ -c -DWIN64 -D"__int64=long long" -trigraphs -I../include
> -IC:/Progra~1/Java/jdk1.5.0_10/include
> -IC:/Progra~1/Java/jdk1.5.0_10/include/win32 -mno-cygwin -m64 Abc.C -o Abc.o
> Abc.C:1: sorry, unimplemented: 64-bit mode not compiled in
> make: *** [Abc.o] Error 1

What exactly do you not understand in the error message
  "sorry, unimplemented: 64-bit mode not compiled in"
Did you read the README which comes with the gcc package?

You are using:  -mno-cygwin -m64
Why do you ask mingw questions here at cygwin?
Please hurry over to mingw-users.

> 5)      The main thing is that I don't know exactly what should be the
> option we have to give under cygwin for building a 64 bit DLL (though I have
> used "-m64" option), but  in Linux if you use this option, you'll get the 64
> bit .SO file!!!

This is a different architecture with 64bit support.

> i tried alot but tillnow didn't get the solution.
> Please suggest me some alternative options if anybody have.

Google would have been your friend. That is a fantastic and completely
new way to find information by yourself, without the need to wait for
answers from mailing lists.
There's a unsupported and problematic/incompatible mingw build: for 4.3
and for win64

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]