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]

Re: 64-bit mingw compiler doesn't


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2/8/2011 06:40, Daniel Colascione wrote:
> $ 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");
> }
> 

How did you install mingw64-x86_64? I am puzzled how this can happen,
looks like binutils wasn't installed properly.

Try adding -v for verbose output.



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (MingW32)

iEYEARECAAYFAk1QoYUACgkQp56AKe10wHfz6gCfd5FZKFay/QtrHnulIoD8CoIq
o88AoIDjAvXhwdDRD9pV8vFpoOvS+Vkn
=yFj7
-----END PGP SIGNATURE-----

Attachment: 0xED74C077.asc
Description: application/pgp-keys

--
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]