20,741
edits
Line 190: | Line 190: | ||
* [https://gitorious.org/fg/flightgear/blobs/next/src/Main/fg_init.cxx#line1230 the voice system] | * [https://gitorious.org/fg/flightgear/blobs/next/src/Main/fg_init.cxx#line1230 the voice system] | ||
While disabling these systems can be fairly easily accomplished using ifdefs, care must be taken that FlightGear still builds properly and that no other systems are trying to access disabled subsystems, so this will involve repeated edit/build/debugging sessions using gdb. But that doesn't need to be done on the target device, it could just as well be completed on a conventional PC. | To check what else is initialized, see the "globals" files in $FG_SRC/Main: | ||
* https://gitorious.org/fg/flightgear/blobs/next/src/Main/globals.cxx | |||
* https://gitorious.org/fg/flightgear/blobs/next/src/Main/globals.cxx | |||
While disabling these systems can be fairly easily accomplished using ifdefs, care must be taken that FlightGear still builds properly and that no other systems are trying to access disabled subsystems at runtime, so this will involve repeated edit/build/debugging sessions using gdb. But that doesn't need to be done on the target device, it could just as well be completed on a conventional PC. | |||
It's also worth mentioning that base package files (XML, Nasal etc) may be trying to use disabled subsystems. | It's also worth mentioning that base package files (XML, Nasal etc) may be trying to use disabled subsystems. |