delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2002/01/18/13:50:28

Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm
Sender: cygwin-apps-owner AT cygwin DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT cygwin DOT com>
List-Help: <mailto:cygwin-apps-help AT cygwin DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT cygwin DOT com
X-Draft-From: ("nnmh:indoos.cygwin-apps" 836)
To: cygwin-apps AT cygwin DOT com
Subject: Re: gcc -mno-cygwin STL support for setup.exe?
References: <20020118180305 DOT GA2312 AT dothill DOT com>
<20020118180632 DOT GA24778 AT redhat DOT com>
Organization: Jan at Appel
From: Jan Nieuwenhuizen <janneke AT gnu DOT org>
Date: Fri, 18 Jan 2002 19:50:20 +0100
In-Reply-To: <20020118180632.GA24778@redhat.com> (Christopher Faylor's
message of "Fri, 18 Jan 2002 13:06:32 -0500")
Message-ID: <m3n0zb7atv.fsf@appel.lilypond.org>
Lines: 32
MIME-Version: 1.0

Christopher Faylor <cgf AT redhat DOT com> writes:

> The biggest issue with relying on libstdc++.a for for setup.exe is that it
> requires this library to be built for cross-compilation.  I have no idea how
> to do that.

What am I missing?

    19:37:40 fred AT appel:~$ locate libstdc++.a | grep x-
    /home/cygwin/cygwin-1.3.3/linux-x-cygwin/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/libstdc++.a
    /home/cygwin/cygwin-1.3.3/linux-x-cygwin/usr/lib/libstdc++.a.2.10.0
    /home/cygwin/cygwin-1.3.6/linux-x-cygwin/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/libstdc++.a
    /home/cygwin/cygwin-1.3.6/linux-x-cygwin/usr/lib/libstdc++.a.2.10.0

This x-compiles fine here

#include <iostream>
#include <string>
int
main ()
{
  	string s = "Hello world";
	cout << s << endl;
	return 0;
}

Greetings,
Jan.

-- 
Jan Nieuwenhuizen <janneke AT gnu DOT org> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org

- Raw text -


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