This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
configure CFLAGS="-V 1.2.3" vs. -o
- From: Jay <jay dot krell at cornell dot edu>
- To: <gcc at gcc dot gnu dot org>
- Date: Wed, 27 Aug 2008 09:00:13 +0000
- Subject: configure CFLAGS="-V 1.2.3" vs. -o
configure CFLAGS='-V 3.4.4' doesn't work because:
configure:3291: i686-pc-cygwin-gcc -o conftest.exe -V 3.4.4 -mno-cygwin -g co
nftest.c >&5
i686-pc-cygwin-gcc: '-V' must come at the start of the command line
configure:3294: $? = 1
configure:3312: error: cannot compute suffix of executables: cannot compile and
link
Maybe an autoconf bug.
Unless gcc could loosen up its command line parsing.
I'll try CC instead of CFLAGS.
- Jay