Re: [Freedos-user] djgpp snprintf?

2007-06-28 Thread Gordon . Schumacher
Robert Riebisch [EMAIL PROTECTED] wrote on Tue, 26 Jun 2007 22:23:33 +0200: # DJGPP 2.04 beta supports snprintf(). I'd pretty strongly recommend using v2.04 anyway; as soon as the guy in Legal gets back, I expect that I'll get the paperwork in order to be the release maintainer for this version

Re: [Freedos-user] djgpp snprintf?

2007-06-28 Thread Dietmar Segbert
Hello Robert, thanks for your tips. There are some other problems. google says that the getopt function is in unistd.h. But i can't not compile espeak. I have downloades kpseaxxxs.zip. In this package is an getopt.c and a getopt.h.. thats was better, but in an if phrase with access and r_ok. If

Re: [Freedos-user] djgpp snprintf?

2007-06-28 Thread Eric Auer
Hi Dietmar, indeed, it is possible that djgpp does not include a getopt, but you can add your own copy of getopt.c and getopt.h ... In this package is an getopt.c and a getopt.h.. thats was better, but in an if phrase with access and r_ok. If i comment this lines out Maybe you forgot to cut

Re: [Freedos-user] djgpp snprintf?

2007-06-27 Thread Robert Riebisch
Robert Riebisch wrote: Another solution is linking against GNU GLib, which has g_snprintf(). I could tell you more tomorrow. 1) Grab `current/v2tk/glib126b.zip' from a DJGPP repository. 2) Expand `glib126b.zip' to your DJGPP installation. 3) Add the following to `src/speech.h'. #ifdef

[Freedos-user] djgpp snprintf?

2007-06-26 Thread Dietmar Segbert
Hello, i try to compile the espeak synthesizer. If i start make, it produces an error snprintf not declared. In which lib is this function in djgpp (#include xxx? Regards. Dietmar - This SF.net email is sponsored by DB2

Re: [Freedos-user] djgpp snprintf?

2007-06-26 Thread Eric Auer
Hi Dietmar, i try to compile the espeak synthesizer. If i start make, it produces an error snprintf not declared. In which lib is this function in djgpp (#include xxx? It is possible that the C library of DJGPP does not support snprintf, but espeak only uses snprintf in one context in only 3

Re: [Freedos-user] djgpp snprintf?

2007-06-26 Thread Robert Riebisch
Eric Auer wrote: It is possible that the C library of DJGPP does not support DJGPP 2.04 beta supports snprintf(). snprintf, but espeak only uses snprintf in one context in only 3 places. Replace the 3 lines as explained below and you can compile without snprintf. Another solution is