X-Spam-Check-By: sourceware.org Date: Fri, 17 Mar 2006 20:06:13 -0500 (EST) From: Igor Peshansky Reply-To: cygwin AT cygwin DOT com To: "Paul J. Lucas" cc: cygwin AT cygwin DOT com Subject: Re: fopen with UTF-8 chars in filenames In-Reply-To: Message-ID: References: <20060315010359 DOT GD15036 AT trixie DOT casa DOT cgf DOT cx> <20060316205210 DOT GD14672 AT trixie DOT casa DOT cgf DOT cx> <20060317212225 DOT GA31105 AT trixie DOT casa DOT cgf DOT cx> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 Fri, 17 Mar 2006, Paul J. Lucas wrote: > On Fri, 17 Mar 2006, Christopher Faylor wrote: > > > Cygwin doesn't provide _wfopen. > > 1. I install Cygwin. > 2. It's in stdio.h that gets installed as part of the Cygwin install. No, actually it's in stdio.h that's part of MinGW (and is installed as part of Cygwin only because Cygwin's gcc has a built-in MinGW cross-compiler). > Therefore, as far as I'm concerned, it's in Cygwin. It's in MinGW. It's not supported by the Cygwin community. The program you build with it is not a Cygwin program. > > So, if you are using _wfopen you stopped using Cygwin, then, too, possibly > > using -mno-cygwin. > > As it happens, I am suppliying -mno-cygwin. So you're building a pure Windows executable. > > "I am trying to do what this person did and I get an > > unreferenced error!!!!" > > Then why does it work for me? Because you're that person. :-) Seriously, you're building a pure Windows executable that uses MSVCRT for its C runtime. If someone attempted to build a Cygwin program that used wfopen, they would fail (with the above error). Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte." "But no -- you are no fool; you call yourself a fool, there's proof enough in that!" -- Rostand, "Cyrano de Bergerac" -- 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/