This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Building libstdc++-v3 fails (enable_cxx_flags)
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: gcc at gcc dot gnu dot org
- Cc: Phil Edwards <pme at gcc dot gnu dot org>
- Date: Mon, 30 Dec 2002 10:35:12 -0500
- Subject: Re: Building libstdc++-v3 fails (enable_cxx_flags)
- References: <20021230152720.GA25327@nevyn.them.org>
On Mon, Dec 30, 2002 at 10:27:20AM -0500, Daniel Jacobowitz wrote:
> Using a tree updated "mere moments" ago:
>
> checking for exception model to use... call frame
> checking for use of libunwind... no
> checking for extra compiler flags for building... configure: error: compiler flags start with a -
>
> Does this look familiar? It's $enable_cxx_flags; I can't figure out from my
> build directory what value it has...
To be more precise:
- I did not specify --enable-cxx-flags
- $enable_cxx_flags has the value "none" at this point, by the test
-n.
Look at the expansion in configure:
if test "${enable_cxx_flags+set}" = set; then
enableval="$enable_cxx_flags"
case "x$enable_cxx_flags" in
xyes)
{ echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
xno | xnone | x)
enable_cxx_flags='' ;;
*)
enable_cxx_flags="$enableval" ;;
esac
else
enable_cxx_flags=none
fi
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer