autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: doc cc -c -o


From: Peter Eisentraut
Subject: Re: doc cc -c -o
Date: Wed, 3 Dec 2003 20:07:36 +0100 (CET)

Kevin Ryde writes:

>      `cc -c foo.c' produces a `foo.o' object file.  Most compilers
>      allow a `-o' option to direct the output to a different file, but
>      POSIX doesn't require this.  `AC_PROG_CC_C_O' can be used to see if
>      it works (*note C Compiler::).

AC_PROG_CC_C_O is pretty unsuitable for this.  It only defines a
preprocessor macro, nothing that you can use in a makefile.

-- 
Peter Eisentraut   address@hidden





reply via email to

[Prev in Thread] Current Thread [Next in Thread]