This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building libstdc++-v3 fails (enable_cxx_flags)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]