delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/30/22:30:17

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
Message-ID: <410B038D.5010507@isonews2.com>
Date: Fri, 30 Jul 2004 22:27:25 -0400
From: Arturus Magi <sailorleo AT isonews2 DOT com>
Reply-To: sailorleo AT isonews2 DOT com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040616 Mnenhy/0.6.0.104
MIME-Version: 1.0
To: Jim Kleckner <jek-cygwin AT kleckner DOT net>
CC: cygwin AT cygwin DOT com
Subject: Re: STL std::random_shuffle behavior fails with lrand48
References: <410AEF64 DOT 90409 AT kleckner DOT net>
In-Reply-To: <410AEF64.90409@kleckner.net>
X-Enigmail-Version: 0.84.2.0
X-Enigmail-Supports: pgp-inline, pgp-mime
X-Scanned-By: MIMEDefang 2.43
X-Apparently-From: NHogue AT aol DOT com
X-AOL-IP: 64.12.118.18
X-IsSubscribed: yes

Jim Kleckner wrote:

> Version of cygwin is current (see attached file
> for all version stamps)
> gcc                     3.3.1-3
> gcc-g++                 3.3.1-3
> 
> version of gcc/g++ on Linux is 2.96.
> 
> The test program is attached as is cygcheck output.
> 
> To run it just type (note that -mno-cygwin is *not* used):
> g++ xxx.cpp
> ./a.exe
> 
> Is this a configuration issue?  Or does lrand48 not work?
> Or is it a long vs. int type mismatch?
> 

Try upgrading the version of gcc on the Linux box before comparing. 
There are a number of differences between gcc2 and gcc3 that may be 
affecting things.

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