delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/03/17/20:06:23

X-Spam-Check-By: sourceware.org
Date: Fri, 17 Mar 2006 20:06:13 -0500 (EST)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: "Paul J. Lucas" <pauljlucas AT mac DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: fopen with UTF-8 chars in filenames
In-Reply-To: <Pine.LNX.4.63.0603171642220.23743@vgfl.cnhywyhpnf.bet>
Message-ID: <Pine.GSO.4.63.0603172002560.10114@access1.cims.nyu.edu>
References: <Pine DOT LNX DOT 4 DOT 63 DOT 0603141507100 DOT 23743 AT vgfl DOT cnhywyhpnf DOT bet> <dv7oht$t87$1 AT sea DOT gmane DOT org> <20060315010359 DOT GD15036 AT trixie DOT casa DOT cgf DOT cx> <dvchcb$p9k$1 AT sea DOT gmane DOT org> <20060316205210 DOT GD14672 AT trixie DOT casa DOT cgf DOT cx> <Pine DOT LNX DOT 4 DOT 63 DOT 0603171314380 DOT 23743 AT vgfl DOT cnhywyhpnf DOT bet> <20060317212225 DOT GA31105 AT trixie DOT casa DOT cgf DOT cx> <Pine DOT LNX DOT 4 DOT 63 DOT 0603171642220 DOT 23743 AT vgfl DOT cnhywyhpnf DOT bet>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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 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 <INSERT URL HERE> 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019