Re: Newbie questions about gcc / glibc

2007-09-18 Thread Ian Lance Taylor
"Frederich, Eric P21322" <[EMAIL PROTECTED]> writes: > I have a bunch of command line programs and I am trying to support > Windows, Linux and an older version of Solaris. > I got the same version of gcc working on all 3 platforms. > > Now the problem is that I can't get getopt_long to work which

Re: Newbie questions about gcc / glibc

2007-09-18 Thread DJ Delorie
> 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 fun

Newbie questions about gcc / glibc

2007-09-18 Thread Frederich, Eric P21322
Hello, I have a bunch of command line programs and I am trying to support Windows, Linux and an older version of Solaris. I got the same version of gcc working on all 3 platforms. Now the problem is that I can't get getopt_long to work which is provided by getopt.h. I don't know much about how al