Mail Archives: djgpp/2001/07/26/10:43:50
On Thu, 26 Jul 2001, ANW wrote:
> 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.
Are you sure you didn't jump to conclusions too quickly? Maybe some not
too complex changes to the program is all you need to get it to build?
What were the error messages you saw when you commented away these two
headers?
> 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?
As Martin explained, this won't help: the cross-compilation environment
still lacks those two headers, and all the library functions which come
with them.
- Raw text -