Martin Spott wrote:

> Problem solved: I have to add '../../Lib/TriangleJRS/libTriangleJRS.a'.
> If in manage to get this undertaking to an end then I'll post a resume.
> It would be nice if someone were willing to incorporate the necessary
> changes into the TerraGear 'autoconf/automake' mimics,

In order to complete the SimGear build I did the following modification
to the SimGear serial port support:

--- serial.cxx.original Sun Nov 21 22:25:01 2004
+++ serial.cxx  Tue Nov 30 17:50:36 2004
@@ -129,7 +129,7 @@
 
     // config.c_cflag |= CLOCAL;
 
-#if ! defined( sgi )    
+#if !defined( sgi ) && !defined(_AIX)
     // disable hardware flow control
     config.c_cflag &= ~(CRTSCTS);
 #endif
@@ -234,11 +234,11 @@
        speed = B19200;
     } else if ( baud == 38400 ) {
        speed = B38400;
+#if defined( linux ) || defined( __FreeBSD__ )
     } else if ( baud == 57600 ) {
        speed = B57600;
     } else if ( baud == 115200 ) {
        speed = B115200;
-#if defined( linux ) || defined( __FreeBSD__ )
     } else if ( baud == 230400 ) {
        speed = B230400;
 #endif


Please add this or a comparable construct to SimGear - AIX apparently
doesn't know this method of toggling CRTSCTS neither does it know about
57600 and 115200 Bit/s on a serial line.

Thanks,
        Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to