On Sun, May 12, 2002 at 10:58:47PM -0700, Paul Eggert wrote: > > From: John Poltorak <[EMAIL PROTECTED]> > > Date: Sun, 12 May 2002 22:15:35 +0100 > > > > Is the GNU build system designed specifically for gcc > > No. > > > or will it support other compilers > > Yes. > > > such as the newly released Open Watcom ? > > Yes, if you are using Open Watcom on GNU/Linux or Unix or some other > reasonably-close-to-POSIX platform.
By POSIX compatible do include command line switches. Watcom C requires an equals sign, ie. -fo=foo.o, -fo foo.o won't work. Also, command line arguments are case-insensitive so there is no way to distinguish between -o and -O. Would it be possible to get round these restrictions with a CONFIG.SITE file or would a compiler specific M4 file be required? Is Autoconf designed for including compiler specific options? ie does anyone use it with anything other than gcc? -- John