delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/02/07/17:40:50

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Mon, 7 Feb 2011 14:40:40 -0800
Message-ID: <AANLkTinayKD1mLo5_-Bt124H9-DvmWPm140Fc6VXA2=G@mail.gmail.com>
Subject: 64-bit mingw compiler doesn't
From: Daniel Colascione <dan DOT colascione AT gmail DOT com>
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-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

$ 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019