X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Message-ID: <003f01c3d614$27e895f0$5929120b@T21jSANCHEZ2> From: "J. L." To: References: Subject: Re: Compile error: getopt.h Date: Thu, 8 Jan 2004 12:20:49 -0600 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Reply-To: djgpp AT delorie DOT com James Calivar tuvo a bien escribir: > I get the following error when trying to compile some code for > a project at work: > > main.c:33:20: getopt.h: No such file or directory (ENOENT) > > According to the DJGPP site, getopt is provided in libc.a, but > I don't see it anywhere in my installation and it's obviously > not being found. Anyone have any ideas? > There are no header file named getopt.h, but the prototype of getopt() function is in unistd.h Regards José L. Sanchez Garrido 'Usenet is a strange place' - Dennis M.Ritchie