> I guess this is a FAQ, but please forgive my ignorance:
> Why isn't there a prototype declaration for getopt and how do I deal
> with it? Is getopt usable if I supply one?
I have plans to correct this with the next MinGW release.
We haven't supplied a getopt.h because libiberty's version is GPL and we
don't want the user to accidentally infect himself with GPL. So, if you
can use GPL, and you have access to libiberty's getopt.h file, then yes
you can use it with -liberty at link time.
Get latest updates about Open Source Projects, Conferences and News.