delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/24/16:01:35

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <005101c14533$818a7cf0$f05a798b@mtg.saic.com>
From: "Roger Wells" <ROGER DOT K DOT WELLS AT saic DOT com>
To: <cygwin AT cygwin DOT com>
Subject: mingw-runtime (mingw-20010917)
Date: Mon, 24 Sep 2001 16:00:05 -0400
Organization: SAIC
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200

Hi,

I just installed the latest mingw-runtime.  Now any trivial c++ program
gives the following error when linking:

$ gcc -mno-cygwin -I/usr/local/mingw/include -I/usr/include/g++-3
hello.cpp -L/usr/local/mingw/lib  -lstdc++
   gives:
/usr/local/mingw/lib/libstdc++.a(floatconv.o)(.text+0x1244): undefined
reference  to `_imp___HUGE_dll'

whereas:

$ gcc hello.cpp -lstdc++                        i.e. no -mno-cygwin

works as expected.

hello.cpp follows:

#include <iostream>

int main () {
    cout << "Hello World..." << endl;
    return 0;
}

Any advice will be appreciated.


Roger Wells, P.E.
SAIC
221 Third St
Newport, RI 02840
401-847-4210 (voice)
401-849-1585 (fax)
roger AT mtg DOT saic DOT com




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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