Re: Compiling C++ without -g

2002-08-03 Thread Matt Zimmerman
On Sat, Aug 03, 2002 at 09:37:59PM +0200, Ove Kaaven wrote: > On Sat, 3 Aug 2002, Matt Zimmerman wrote: > > > > e.g. > > > AC_PROG_CXX calls _AC_PROG_CXX_G which if successful unconditionally > > > appends > > > "-g" to the command line. > > > > Try passing CFLAGS to configure, e.g. CFLAGS="-O

Re: Compiling C++ without -g

2002-08-03 Thread Ove Kaaven
On Sat, 3 Aug 2002, Matt Zimmerman wrote: > On Sat, Aug 03, 2002 at 03:00:41PM +0100, Will Newton wrote: > > > Is there a way to prevent autoconf from appending "-g" to every g++ command > > line? I really want to reduce the diskspace and CPU time required to build > > my > > package, but aut

Re: Compiling C++ without -g

2002-08-03 Thread Matt Zimmerman
On Sat, Aug 03, 2002 at 09:37:59PM +0200, Ove Kaaven wrote: > On Sat, 3 Aug 2002, Matt Zimmerman wrote: > > > > e.g. > > > AC_PROG_CXX calls _AC_PROG_CXX_G which if successful unconditionally appends > > > "-g" to the command line. > > > > Try passing CFLAGS to configure, e.g. CFLAGS="-O2" ./c

Re: Compiling C++ without -g

2002-08-03 Thread Matt Zimmerman
On Sat, Aug 03, 2002 at 03:00:41PM +0100, Will Newton wrote: > Is there a way to prevent autoconf from appending "-g" to every g++ command > line? I really want to reduce the diskspace and CPU time required to build my > package, but autoconf seems to assume if you have g++ you have to have "-g"

Re: Compiling C++ without -g

2002-08-03 Thread Ove Kaaven
On Sat, 3 Aug 2002, Matt Zimmerman wrote: > On Sat, Aug 03, 2002 at 03:00:41PM +0100, Will Newton wrote: > > > Is there a way to prevent autoconf from appending "-g" to every g++ command > > line? I really want to reduce the diskspace and CPU time required to build my > > package, but autocon

Re: Compiling C++ without -g

2002-08-03 Thread Matt Zimmerman
On Sat, Aug 03, 2002 at 03:00:41PM +0100, Will Newton wrote: > Is there a way to prevent autoconf from appending "-g" to every g++ command > line? I really want to reduce the diskspace and CPU time required to build my > package, but autoconf seems to assume if you have g++ you have to have "-g