delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.0 required=5.0 tests=BAYES_00,SARE_MSGID_LONG40,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
In-Reply-To: | <21850981.post@talk.nabble.com> |
References: | <31069 DOT 8817 DOT qm AT web8804 DOT mail DOT in DOT yahoo DOT com> <472876A1 DOT 4060005 AT computer DOT org> <20071031124125 DOT GA3827 AT implementation DOT uk DOT xensource DOT com> <21850981 DOT post AT talk DOT nabble DOT com> |
Date: | Thu, 5 Feb 2009 15:14:42 +0100 |
Message-ID: | <6910a60902050614j5e08d173ka7377499a528c7f9@mail.gmail.com> |
Subject: | Re: GCC compiler -m64 option in cygwin |
From: | Reini Urban <rurban AT x-ray DOT at> |
To: | cygwin AT cygwin DOT com |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |