public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* mingw-runtime (mingw-20010917)
@ 2001-09-25  4:28 Earnie Boyd
  2001-09-25 13:16 ` [Mingw-users] " Danny Smith
  0 siblings, 1 reply; 2+ messages in thread
From: Earnie Boyd @ 2001-09-25  4:28 UTC (permalink / raw)
  To: Roger Wells, MU List; +Cc: CU List

mailbox:/C|/Program
Files/Netscape/Users/earnie_boyd/Mail/Inbox.sbd/Cygwin.sbd/Cygwin
Users?id=1001373668.31548.ezmlm%40sources.redhat.com&number=5375295&part=1.26

Since this is a MinGW issue, I've forwarded this to the appropriate
list.

Earnie.


To : <cygwin at cygwin dot com>
Subject : mingw-runtime (mingw-20010917)
From : "Roger Wells" <ROGER dot K dot WELLS at saic dot com>
Date : Mon, 24 Sep 2001 16:00:05 -0400

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@mtg.saic.com




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Mingw-users] mingw-runtime (mingw-20010917)
  2001-09-25  4:28 mingw-runtime (mingw-20010917) Earnie Boyd
@ 2001-09-25 13:16 ` Danny Smith
  0 siblings, 0 replies; 2+ messages in thread
From: Danny Smith @ 2001-09-25 13:16 UTC (permalink / raw)
  To: MU List, Roger Wells; +Cc: CU List

 --- Earnie Boyd <earnie_boyd@yahoo.com> wrote: > mailbox:/C|/Program
> Files/Netscape/Users/earnie_boyd/Mail/Inbox.sbd/Cygwin.sbd/Cygwin
>
Users?id=1001373668.31548.ezmlm%40sources.redhat.com&number=5375295&part=1.26
> 
> Since this is a MinGW issue, I've forwarded this to the appropriate
> list.
> 
> Earnie.

> ATTACHMENT part 2 message/rfc822 name=cygwin.36995
> From: "Roger Wells" <ROGER.K.WELLS@saic.com>
> To: <cygwin@cygwin.com>
> Subject: mingw-runtime (mingw-20010917)
> Date: Mon, 24 Sep 2001 16:00:05 -0400
> 
> 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'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


It looks like you are using an old mingw version of libstdc++.a, with a
dependency on libcrtdll.a rather than  libmsvcrt.a.  Upgrade to a newer
version of the mingw libstdc++.a.

Danny

http://travel.yahoo.com.au - Yahoo! Travel
- Got Itchy feet? Get inspired!

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-09-25 13:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-25  4:28 mingw-runtime (mingw-20010917) Earnie Boyd
2001-09-25 13:16 ` [Mingw-users] " Danny Smith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).