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: http://www.tdragon.net/recentgcc/ for 4.3 and http://mingw-w64.sourceforge.net/ for win64 -- Reini -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/