X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.3 required=5.0 tests=AWL,BAYES_00,DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: sourceware.org Message-ID: <21850968.post@talk.nabble.com> Date: Thu, 5 Feb 2009 05:04:33 -0800 (PST) From: rajeevs To: cygwin AT cygwin DOT com Subject: Re: GCC compiler -m64 option in cygwin In-Reply-To: <20071031124125.GA3827@implementation.uk.xensource.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hi There, 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 =E2=80=9CCFLAGS=E2=80=9D where gave= the option =E2=80=9C-m64=E2=80=9D in the make file for 64 bit build=20 4) But when I use this option I am getting an error like: $ make -f makefile_64 g++ -c -DWIN64 -D"__int64=3Dlong 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 5) The main thing is that I don=E2=80=99t know exactly what should be = the option we have to give under cygwin for building a 64 bit DLL (though I have used =E2=80=9C-m64=E2=80=9D option), but in Linux if you use this option, = you=E2=80=99ll get the 64 bit .SO file!!! i tried alot but tillnow didn't get the solution. Please suggest me some alternative options if anybody have. Thanks in advance! Rajeev --=20 View this message in context: http://www.nabble.com/GCC-compiler--m64-optio= n-in-cygwin-tp13503988p21850968.html Sent from the Cygwin list mailing list archive at Nabble.com. -- 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/