This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Use of getopt_long for -MD / -MF <file> type of options
- From: pocmatos at gmail dot com (Paulo J. Matos)
- To: libc-help at sourceware dot org
- Date: Fri, 21 May 2010 15:41:40 +0100
- Subject: Use of getopt_long for -MD / -MF <file> type of options
- Connect(): No such file or directory
Hello,
I am using getopt_long in my code and would like to implement -MD and
-MF <arg> options, similar to what's in gcc.
However, these seem to be neither short not long options.
I would like to know what's the best approach to implement them in a
getopt_long based program.
Cheers,
--
PMatos