devkitarm termios.h include file

support for the ARM toolchain
Post Reply
anto375
Posts: 1
Joined: Sun May 15, 2011 9:22 pm

devkitarm termios.h include file

Post by anto375 » Sun May 15, 2011 9:34 pm

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?

WinterMute
Site Admin
Posts: 1986
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: devkitarm termios.h include file

Post by WinterMute » Wed May 18, 2011 12:16 am

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.
Help keep devkitPro toolchains free, Donate today

Personal Blog

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests