This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Newbie questions about gcc / glibc


> I saw getopt.h, getopt.c, and getopt1.c in my gcc directory under
> libiberty.  What are these for?

Those are for building gcc itself.  They're not normally used by
applications, unless you want to import all of libiberty into your
application.  Normally, glibc provides the getopt family of functions.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]