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]

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


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