public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Building libstdc++-v3 fails (enable_cxx_flags)
@ 2002-12-30  8:58 Daniel Jacobowitz
  2002-12-30  9:23 ` Gabriel Dos Reis
  2002-12-30  9:54 ` Daniel Jacobowitz
  0 siblings, 2 replies; 4+ messages in thread
From: Daniel Jacobowitz @ 2002-12-30  8:58 UTC (permalink / raw)
  To: gcc

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...

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Building libstdc++-v3 fails (enable_cxx_flags)
  2002-12-30  8:58 Building libstdc++-v3 fails (enable_cxx_flags) Daniel Jacobowitz
@ 2002-12-30  9:23 ` Gabriel Dos Reis
  2002-12-30  9:54 ` Daniel Jacobowitz
  1 sibling, 0 replies; 4+ messages in thread
From: Gabriel Dos Reis @ 2002-12-30  9:23 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: gcc

Daniel Jacobowitz <drow@mvista.com> writes:

| 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...

I would guess this might be related to Phil's recent change in that area

  http://gcc.gnu.org/ml/gcc-patches/2002-12/msg01546.html

-- Gaby

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Building libstdc++-v3 fails (enable_cxx_flags)
  2002-12-30  8:58 Building libstdc++-v3 fails (enable_cxx_flags) Daniel Jacobowitz
  2002-12-30  9:23 ` Gabriel Dos Reis
@ 2002-12-30  9:54 ` Daniel Jacobowitz
  2002-12-30  9:55   ` Phil Edwards
  1 sibling, 1 reply; 4+ messages in thread
From: Daniel Jacobowitz @ 2002-12-30  9:54 UTC (permalink / raw)
  To: gcc; +Cc: Phil Edwards

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Building libstdc++-v3 fails (enable_cxx_flags)
  2002-12-30  9:54 ` Daniel Jacobowitz
@ 2002-12-30  9:55   ` Phil Edwards
  0 siblings, 0 replies; 4+ messages in thread
From: Phil Edwards @ 2002-12-30  9:55 UTC (permalink / raw)
  To: gcc, Phil Edwards

On Mon, Dec 30, 2002 at 10:35:12AM -0500, Daniel Jacobowitz wrote:
> 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

.... huh.  I tested that case...

There's a simple fix, I'm testing it now.

-- 
I would therefore like to posit that computing's central challenge, viz. "How
not to make a mess of it," has /not/ been met.
                                                 - Edsger Dijkstra, 1930-2002

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-12-30 15:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-30  8:58 Building libstdc++-v3 fails (enable_cxx_flags) Daniel Jacobowitz
2002-12-30  9:23 ` Gabriel Dos Reis
2002-12-30  9:54 ` Daniel Jacobowitz
2002-12-30  9:55   ` Phil Edwards

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).