#3537: flea/muttbug tries to run C compiler with -v option to get the version
number
--------------------+-------------------------------------------------------
Reporter: marcel | Owner: mutt-dev
Type: defect | Status: new
Priority: major | Milestone: 1.6
Component: mutt | Version: 1.5.21
Keywords: |
--------------------+-------------------------------------------------------
This is in muttbug.sh.in:
{{{
echo
echo "-- Build environment information"
echo
echo "(Note: This is the build environment installed on the system"
echo "muttbug is run on. Information may or may not match the
environment"
echo "used to build mutt.)"
echo
echo "- gcc version information"
echo "@CC@"
@CC@ -v 2>&1
echo
echo "- CFLAGS"
echo @CFLAGS@
}}}
There are at least two issues here:
1. The C compiler need not be installed on the host system,
2. The particular C compiler used might not use -v to display the version
number.
For example Sun cc uses -V instead of -v:
{{{
$ cc -v
usage: cc [ options] files. Use 'cc -flags' for details
$ cc -V
cc: Sun C 5.10 SunOS_i386 Patch 142363-07 2010/12/09
usage: cc [ options] files. Use 'cc -flags' for details
$
}}}
--
Ticket URL: <http://dev.mutt.org/trac/ticket/3537>
Mutt <http://www.mutt.org/>
The Mutt mail user agent