delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/08/01/12:30:34

Message-ID: <3f2a9324$0$163$cc7c7865@news.luth.se>
From: Martin Str|mberg <ams AT speedy DOT ludd DOT luth DOT se>
Subject: Re: argument parsing compatibility between DOS and Unix
Newsgroups: comp.os.msdos.djgpp
References: <pan DOT 2003 DOT 07 DOT 23 DOT 19 DOT 24 DOT 33 DOT 491377 AT hotmail DOT com>
User-Agent: tin/1.4.6-20020816 ("Aerials") (UNIX) (NetBSD/1.6Q (alpha))
Date: 01 Aug 2003 16:19:48 GMT
Lines: 19
NNTP-Posting-Host: speedy.ludd.luth.se
X-Trace: 1059754788 news.luth.se 163 130.240.16.13
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Jim Showalter <jim_showalter AT hotmail DOT com> wrote:
: I'm developing a C program in Linux using gcc.

: But I'm hoping to be able to compile it under DOS/Windows
: also.

: I'm thinking of using 'argp' to parse my program's arguments.

: Is argp(), getopts_long() or _any_ of the GNU library
: functions available under DJGPP?

I've not heard of argp(). DJGPP's libc does have getopt() but not any
function for long options. Please contribute one if you write
it. Thanks!


Right,

						MartinS

- Raw text -


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