Jon,
This is fixed by Darrell Walisser's patch.
http://icdweb.cc.purdue.edu/~walisser/fg/fgdev.tar.gz
The file contains patches for both SimGear and JSBSim. The gcvt() call is
replaced by a glorified call to snprintf(). From the diff file:
+#ifdef __APPLE__
+/* Not all systems have the gcvt function */
+inline char* gcvt (double value, int ndigits, char *buf) {
+ /* note that this is not exactly what gcvt is supposed to do! */
+ snprintf (buf, ndigits+1, "%f", value);
+ return buf;
+}
+#endif
Jonathan Polley
On Monday, April 29, 2002, at 09:46 PM, Jon Berndt wrote:
>> In order to test JSBSim compilation across different platforms, I've
> been
>> giving some initial thought to use of the sourceforge compile farm. Does
>> anyone here have any experience with that? Good idea? No?
>
> This *is* cool. I tried it: tried compiling JSBSim on the Mac. uname -a
> returns:
>
> Darwin usf-cf-ppc-macosx-1 5.4 Darwin Kernel Version 5.4: Wed Apr 10
> 09:27:47 PDT 2002; root:xnu/xnu-201.19.3.obj~1/RELEASE_PPC Power
> Macintosh powerpc
>
> The compiler is CC version 2.95.2, whatever that is.
>
> Compilation bombs out with gcvt.
>
> This gives me some extra machine types to test compile on. I think I might
> even be able to set up weekly compiles using cron.
>
> Jon
>
_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel