| delorie.com/archives/browse.cgi | search |
| 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 |
| Reply-To: | Cygwin List <cygwin AT cygwin DOT com> |
| Message-Id: | <6.2.0.14.0.20041212181227.04b11ca8@pop.prospeed.net> |
| Date: | Sun, 12 Dec 2004 18:17:15 -0500 |
| To: | mckelvey AT maskull DOT com, cygwin AT cygwin DOT com |
| From: | Larry Hall <lh-no-personal-replies-please AT cygwin DOT com> |
| Subject: | Re: Segmentation faults with g++ 4.0 |
| In-Reply-To: | <04121215103100.28169@alpha1> |
| References: | <04121215103100 DOT 28169 AT alpha1> |
| Mime-Version: | 1.0 |
At 06:10 PM 12/12/2004, you wrote:
>I installed CYGWIN_NT-5.1 a few days ago and then built g++ from the latest
>CVS. Simple programs like the one below will compile and link, but then get
>segmentation faults in pthread_specific on execution:
>
>#include <locale>
>#include <iostream>
>
>static const std::locale l;
>//static std::ostream& o = std::cerr;
>
>int main(const int,
> const char * const * const)
>{
> return 0;
>}
>
>Is this a known bug? The c++ that comes with Cygwin is way too old to compile
>my code; I need at least 3.4.
Rerun 'setup.exe', choose the "Exp" radio button above the package list,
and then click the "View" button until it shows "Partial". This will
give you a list of the packages that you have installed that have
"Experimental" versions available. "g++" and friends should be in that
list with a "3.4.1-1" version option. Cycle those packages you don't want
to change to "Keep". Leave "g++" and friend as is and click "Next" to
upgrade.
This is likely much easier than building your own version and tracking
down bugs in your configuration.
HTH,
--
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
838 Washington Street (508) 893-9889 - FAX
Holliston, MA 01746
--
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |