Mail Archives: cygwin/2006/03/17/20:06:23
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 -