delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/07/26/10:43:50

Date: Thu, 26 Jul 2001 16:35:36 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: ANW <yellowfurball AT netscape DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: Compile errors: getopt.h: no such file or dir (ENOENT), etc.
In-Reply-To: <3B600C38.440DA50E@netscape.net>
Message-ID: <Pine.SUN.3.91.1010726163310.1520B-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019