delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/08/23/08:21:34

Date: Tue, 22 Aug 2000 12:46:19 +0600 (LKT)
From: Kalum Somaratna aka Grendel <kalum AT lintux DOT cx>
X-Sender: kalum AT goatbeard DOT grendel DOT net
To: Peter Kozics <ethpks AT eth DOT ericsson DOT se>
cc: djgpp AT delorie DOT com
Subject: Re: getopt_long?
In-Reply-To: <39A12912.1EFE32EC@eth.ericsson.se>
Message-ID: <Pine.LNX.4.21.0008221243580.1758-100000@goatbeard.grendel.net>
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 Mon, 21 Aug 2000, Peter Kozics spoke the following immortal words,

> Do we have getopt_long() in djgpp?

No there is no such function unfortunately (getopt_long is a GNU
extension), so please get the getopt.c and getopt.h from any
distribution (GZIP etc have it), and just include the getopt.h file in
your program, compile the getopt.c and link with it.

Thats all, the getopt.c and getopt.h work with djgpp out of the box...

Best Wishes,
Grendel

--
.---------------------.---------------------.----{)--.
| /"__ ._ _  _  _| _ |`-.grendel AT lintux DOT cx.-'(]__/|| |
| \__/ | (-'| |(_|(-'l_ `-===============-' [_]  .-: |
`--------------------------------------------/|\/| |-'
ProZilla, the new Download Accelerator for Linux (GPL), 
<http://www.lintux.cx/~kalum/prozilla.html>




- Raw text -


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