This is the mail archive of the gcc-bugs@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]

Disable-shared no longer default


The installation guide for GCC indicates that --disable-shared
is the default.  In the current CVS, this no longer true.

It is a bit confusing, since this initially appears to be the same
as in 2.95.2, since "enable-shared = no" appears in the Makefile.

gcc/configure, at line 964, (configure.in:327) tests to see if 
enable-shared was explicitly specified.  If it wasn't, it sets 
it to "yes".  I think that this should be "no", or better, it 
should use the default from the Makefile.

configure.in:327 --
	AC_ARG_ENABLE(shared,
	[  --disable-shared       don't provide a shared libgcc.],
	[], [enable_shared=yes])
	AC_SUBST(enable_shared)   

I'm not sure I understand AC_ARG_ENABLE, or how the defaults are
propogated, but the impression I have is that previously set 
defaults are ignored.   This may also be the case for other 
options, like --enable-cpp, --with-dwarf2, and possibly others.   

-- 

Michael Eager
Senior Tools Developer	  Phone: (408) 328-8426
MontaVista Software, Inc.   Fax: (408) 328-9204
1237 E. Arques Avenue	    Web: www.hardhatlinux.com
Sunnyvale, CA 94085	  Email: eager@mvista.com

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