Follow the instructions for building cygwin on the cygwin web pages. (Look at the menu on the left).
At a guess, you'll need to do more than just define MB_CAPABLE. Chances are, it's disabled because cygwin is not MB_CAPABLE :}. Rob === ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 11, 2002 12:19 PM Subject: rebuild libc.a with MB_CAPABLE defined > I want to rebuild libc.a with MB_CAPABLE defined so wcstombs works when > NULL is passed in as the first arg - wcstombs( NULL, wcstr, 0 ). Currently, > this function always returns 0 because MB_CAPABLE is not defined when cygwin > is initially installed. > > How do I rebuild libc.a? There are a lot of intimidating makefiles in the > newlib directory. > > Thanks > > Roger Duvall > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Bug reporting: http://cygwin.com/bugs.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/