delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/08/25/13:53:59

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Wed, 25 Aug 2004 19:53:47 +0200
From: "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de>
Reply-To: "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de>
Organization: Esse keine toten Tiere
Message-ID: <591847496980.20040825195347@familiehaase.de>
To: "Krzysztof Duleba" <krzysan AT skrzynka DOT pl>
CC: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] Release candidate: gcc-3.4.1-1
In-Reply-To: <cgii2m$2i7$1@sea.gmane.org>
References: <200408241633 DOT i7OGXSf02448 AT esds DOT vss DOT fsi DOT com> <cgiegg$n6v$1 AT sea DOT gmane DOT org> <721844652610 DOT 20040825190623 AT familiehaase DOT de> <cgii2m$2i7$1 AT sea DOT gmane DOT org>
MIME-Version: 1.0

Krzysztof wrote:

> Gerrit P. Haase  wrote:

>> More difficult is C++, ObjC, Java and Fortran which have their runtime
>> in /usr/lib, there is just one version possible, versioned libraries are
>> currently not supported.

> Is this true? I have 3.3.1 libraries in /lib and
> /lib/gcc-lib/i686-pc-cygwin/3.3.1, but 2.95 libraries only in
> /lib/gcc-lib/i686-pc-cygwin/2.95.3-10.

There was no libjava with 2.x compilers.  There was no libobjc with 2.x
compilers.  What about libstdc++?


> When 3.4 becomes default and
> official, could you release a 3.3 build with libraries moved completely to
> /lib/gcc-lib ?

Hmmm, I don't like maintaining two versions of a package, if 3.4 is
stable it will be the one and only current version.


>> In case you need several libstdc++ libraries I recommend to rebuild the
>> compiler yourself (should be no problem if you use the provided sources,
>> at least since version 3.3.1 all is in the source tarball included) and
>> use the configure option to enable versioned libs:
>> --enable-version-specific-runtime-libs

> What will it do? Will it rename libstdc++ to something like libstdc++3.3?

Yes.  You may also rename the libraries manually, of course that should
only work in case you use gcc(-3.3.3) as driver then, you need to
specify the library explicitly when linking  when using gcc to link C++
objects anyway, so say now:
  gcc-3.3.3 -o myc++.exe myc++file.C -lstdc++3.3.3

However I'm sure it would not work with g++ as driver to just rename the
runtime since g++ has builtin to look after libstdc++ now, therefore a
rebuild is more interesting for you.


Gerrit
-- 
=^..^=                                     http://nyckelpiga.de/donate.html


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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