Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <3842C3B1.4EC31A17@uniweb.se> Date: Mon, 29 Nov 1999 19:19:29 +0100 From: Jens Yllman Organization: Uniweb AB X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: cygwin AT sourceware DOT cygnus DOT com Subject: snprintf() in cygwin. Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, I know this is not realy a cygwin question. Or maybe it is. I'm trying to port a UNIX program to cygwin. And this program uses snprintf(). And this function does not seem to be in cygwin. I'm not an expert on the standard C library. So I'm not sure this is included there. When running the configure script it looks for the snprintf() function. And when not finding it it looks for the g_snprintf() that is in glib. And I guess that this is glibc. And I wonder then if someone has compiled glib/glibc for cygwin. I would like to know if it is compiled straight out the box or need some change to compile. BTW: snprintf() seem to be in mingw32. Both in the headerfiles and in the library files for the MicroSoft libs/dlls called crtdll.dll and msvcrt.dll. Is there a way to make gcc default to mingw32? Preferably just temporary. Is there any good sites/FAQ about how to use autoconf/automake under cygwin. I've never used them under UNIX eather. So any info about how to use them and how to compile/use them under cygwin is welcome. That was maybe to much in the same e-mail. Many thanks Jens Yllman -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com