Re: iosh.cc & /usr/include/sys/io.h conflict.
"Terry L. Ridder" wrote:
> basically, we have several options:
> 1. edited /usr/include/sys/io.h every time
> glibc is updated.
> 2. change iosh.cc to iosh.c so that the g++
> compiler does not die on what it sees as
> c++ syntax, when is really is gnu embedded
> assembly syntax.
> 3. extract from iosh.cc the functions which
> are using /usr/include/sys/io.h embedded
> assembly and put them in a new c program
> file.
I vote for (3). The problem is that iosh.cc needs some C++ to handle the
NML comm buffers, AND some C to handle the io.h problem. The only place
io.h is needed is for the inb()/outb() stuff, which can be compiled as
C, and then linked in to the main body of iosh.cc with the C++ linker.
The alternative is to strip out the C++ stuff (NML), but this is harder.
--Fred
Date Index |
Thread Index |
Back to archive index |
Back to Mailing List Page
Problems or questions? Contact