This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: printf


"Frederich, Eric P21322" wrote:

> Do vfprintf statements compiled on Cygwin go through libiberty which
> then calls fprintf, or is there another vfprintf in whatever C library
> I'm linking against (either Cygwin's or Microsoft's)?

No, you're getting confused by libiberty.  It is used internally *in*
gcc as a portability aide for gcc itself.  When you call printf in a
Cygwin program, the implementation is in cygwin1.dll, and Cygwin
implements this internally via newlib.  Look at the Cygwin source (which
includes the newlib source) if you want to see how it's implemented, not
the gcc source.

Brian

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]