Page 1 of 1

devkitarm termios.h include file

Posted: Sun May 15, 2011 9:34 pm
by anto375
Hello,
I am trying to build a library for nds which includes the file at devkitARM/arm-eabi/include/termios.h
This file's contents are:

Code: Select all

#ifdef __cplusplus
extern "C" {
#endif
#include <sys/termios.h>
#ifdef __cplusplus
}
#endif
yet the file devkitARM/arm-eabi/include/sys/termios.h does not exist.
Is this intentional? Or was this header mistakenly left out? Anything I can do to resolve this?

Re: devkitarm termios.h include file

Posted: Wed May 18, 2011 12:16 am
by WinterMute
It's neither intentional nor mistaken, the DS has no serial ports so has no need for termios.h and newlib supports platforms which do. Unfortunately this means that several headers may either fail to compile or fail to link later because no implementation exists.

Figure out what your project needs from termios.h and provide the necessary defines.