www.delorie.com/archives/browse.cgi | search |
From: | Martin Str|mberg <ams AT father DOT ludd DOT luth DOT se> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Compile errors: getopt.h: no such file or dir (ENOENT), etc. |
Date: | Wed, 25 Jul 2001 11:35:41 +0000 (UTC) |
Organization: | University of Lulea, Sweden |
Lines: | 37 |
Message-ID: | <996060941.691437@queeg.ludd.luth.se> |
References: | <3B5E9536 DOT 30F533BB AT netscape DOT net> <996055219 DOT 488837 AT queeg DOT ludd DOT luth DOT se> <3B5EA695 DOT 376399DC AT netscape DOT net> |
X-Trace: | news.luth.se 996060941 9114 130.240.16.109 (25 Jul 2001 11:35:41 GMT) |
X-Complaints-To: | abuse AT luth DOT se |
User-Agent: | tin/pre-1.4-981225 ("Volcane") (UNIX) (SunOS/4.1.4 (sun4m)) |
Cache-Post-Path: | queeg.ludd.luth.se!unknown AT father DOT ludd DOT luth DOT se |
X-Cache: | nntpcache 2.4.0b5 (see http://www.nntpcache.org/) |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
ANW <yellowfurball AT netscape DOT net> wrote: :> DJGPP doesn't have those header files. DJGPP do have getopt() so :> perhaps you can get away with #including unistd.h as per "info libc a :> getopt". : In my installation of DJGPP, I DO have getopt.h and getopt.c residing in : a directory called : "g:\djgpp\gnu\filutil4.0\lib", and getopt.h also appears in the : directory called "g:\djgpp\rsxntdj\include". It seems to me that my : djgpp is not looking at those two directories. Yes, because that is not DJGPP libc headers. Those are some other packages' headers. DJGPP headers live in PATH_TO_DJGPP/include/ and below. :> But sys/io.h I don't know what do do with. You could try to comment it :> out, but I doubt that'll work. : But I also see that the file io.h appears in the following three : directories: : g:\djgpp\include Note that this is "io.h" and not "sys/io.h". I doubt they are equivalent but you could try to delete "sys/" from your application. : g:\djgpp\rsxntdj\include : g:\djgpp\rsxntdj\include\emx : Are these of no help to my compilation? Probably not. Right, MartinS
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |