This is the mail archive of the
cygwin
mailing list for the Cygwin project.
64-bit mingw compiler doesn't
- From: Daniel Colascione <dan dot colascione at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 7 Feb 2011 14:40:40 -0800
- Subject: 64-bit mingw compiler doesn't
$ x86_64-w64-mingw32-g++ helloworld.cpp
/Users/dancol/AppData/Local/Temp/2/ccsQs1zP.s: Assembler messages:
/Users/dancol/AppData/Local/Temp/2/ccsQs1zP.s:10: Error: bad register
name `%rbp'
/Users/dancol/AppData/Local/Temp/2/ccsQs1zP.s:11: Error: bad register
name `%rsp'
/Users/dancol/AppData/Local/Temp/2/ccsQs1zP.s:12: Error: bad register
name `%rsp'
/Users/dancol/AppData/Local/Temp/2/ccsQs1zP.s:14: Error: bad register
name `%rip)'
$ cat helloworld.cpp
#include <stdio.h>
int main()
{
printf("Hello, world!\n");
}
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple