delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/01/08/13:36:05

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Message-ID: <003f01c3d614$27e895f0$5929120b@T21jSANCHEZ2>
From: "J. L." <jlsgarrido AT yahoo DOT com>
To: <djgpp AT delorie DOT com>
References: <btjn2b$1d9$1 AT home DOT itg DOT ti DOT com>
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 <amheiser_bush AT yahoo DOT com DOT au> 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


- Raw text -


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