delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/07/25/11:10:16

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Thu, 24 Jul 2008 14:23:01 -0600
From: <bernd AT prager DOT ws>
To: cygwin AT cygwin DOT com
Subject: Re: CYGWIN NT-5.1 1.7.0(0.185/5/ 3) wstring undeclared
In-Reply-To: <488657A9.337C4515@dessent.net>
References: <0302154ffecb7bae3046cafb2aef9ee5 AT prager DOT ws> <488657A9 DOT 337C4515 AT dessent DOT net>
Message-ID: <713c3fa3eb180ce5cb84a0877b199f6d@prager.ws>
X-Sender: bernd AT prager DOT ws
User-Agent: RoundCube Webmail/0.1
X-Identified-User: {1020:box307.bluehost.com:pragerws:prager.ws} {sentby:smtp auth 69.89.31.107 authed with bernd+prager.ws}
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

On Tue, 22 Jul 2008 14:56:57 -0700, Brian Dessent <brian AT dessent DOT net>
wrote:
> bernd AT prager DOT ws wrote:
> 
>> Is that a path issue or is wstring still unsupported?
> 
> Getting a functional wstring would require, at least:
> 
> * implementing missing wide character I/O functions in newlib (like
> wprintf)
> * rebuilding libstdc++ so that it detects these functions and enables
> wstring (which means rebuilding gcc)
> 
> So no, just upgrading the cygwin DLL won't change anything.
> 
> Brian
> 

Any specific version that I have to consider?
I tried to recompile gcc-3.4.6. 
Make fails with:

make[1]: Entering directory `/home/b/tmp/gcc-3.4.6/gcc'
gcc -c   -march=pentium-m -mfpmath=sse -DIN_GCC   -W -Wall -Wwrite-strings
-Wstr
ict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long   
-DHAVE_CONFIG_H
-march=pentium-m -mfpmath=sse   -I. -I. -I. -I./. -I./../include -I../intl
\
                c-opts.c -o c-opts.o
c-opts.c: In function `c_common_init_options':
c-opts.c:191: error: `CL_C' undeclared (first use in this function)
c-opts.c:191: error: (Each undeclared identifier is reported only once
c-opts.c:191: error: for each function it appears in.)
c-opts.c:191: error: initializer element is not constant
c-opts.c:191: error: (near initialization for `lang_flags[0]')
c-opts.c:191: error: `CL_ObjC' undeclared (first use in this function)
c-opts.c:191: error: initializer element is not constant
c-opts.c:191: error: (near initialization for `lang_flags[1]')
c-opts.c:191: error: `CL_CXX' undeclared (first use in this function)
c-opts.c:191: error: initializer element is not constant
c-opts.c:191: error: (near initialization for `lang_flags[2]')
c-opts.c:191: error: `CL_ObjCXX' undeclared (first use in this function)
c-opts.c:191: error: initializer element is not constant
c-opts.c:191: error: (near initialization for `lang_flags[3]')
make[1]: *** [c-opts.o] Error 1
make[1]: Leaving directory `/home/b/tmp/gcc-3.4.6/gcc'
make: *** [all-gcc] Error 2


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