Mail Archives: djgpp/2001/07/26/08:30:07
Thanks, Eli and Martin, for your various clarifications on DJGPP
libraries.
I commented out the lines which imported from getopt.h and sys/io.h, but
it did not work. So the verdict is pretty much that this particular
Linux program (ne2k-pci-diag.c) is incompatible with DJGPP. This brings
me to following question: Would it be possible to use DJGPP under Linux
and cross-compile the program ne2k-pci-diag.c, targeting the executable
for DOS?
ANW
Eli Zaretskii wrote:
>
> On Wed, 25 Jul 2001, ANW wrote:
>
> > > : ne2k-pci-diag.c:49: getopt.h: No such file or directory (ENOENT)
> > > : ne2k-pci-diag.c:56: sys/io.h: No such file or directory (ENOENT)
> > > : J:\junk>
> > >
> >
<snip>
> ... As the first approximation, I'd suggest to #ifdef away
> both the line which includes getopt.h and the one which includes
> sys/io.h, like this:
>
> #if 0
> #include <getopt.h>
> #endif
>
> and see if the program compiles.
- Raw text -