Mail Archives: djgpp/2001/11/15/09:08:06
On Thu, 15 Nov 2001, ROLAND wrote:
> I found out that /dev/tty00 is a serial connection,
> with bi-directional communication. Are you sure that
> there is no way that I can get this working under
> DJGPP?
Not with ioctl/termios calls. They don't support anything but the
console device in DJGPP.
> Can anybody tell me what is necessary to use the
> serial-port on a PC from a C-program?
There are a few async communications packages; see section 22.4 of the
FAQ. However, to use them you will have to convert the relevant parts of
the program to use the functions from those packages instead of ioctl.
What does this program do, anyway? Why is it worth so much trouble?
Perhaps it would be easier for you to install a GNU/Linux system, where
the code will probably work without any changes?
- Raw text -