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

r171833 - in /trunk/gcc: config.gcc config/i386...


Author: ktietz
Date: Fri Apr  1 14:43:22 2011
New Revision: 171833

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171833
Log:
2011-04-01  Kai Tietz  <ktietz@redhat.com>

	* config.gcc (*-*-mingw*): Allow as option the
	posix threading model.
	* config/i386/mingw32.h ( SPEC_PTHREAD1,  SPEC_PTHREAD2):
	New macros defined dependent to TARGET_USE_PTHREAD_BY_DEFAULT
	definition.
	(CPP_SPEC): Add pthread/no-pthread handling.
	(LIB_SPEC): Likewise.
	* config/i386/mingw-w64.h (CPP_SPEC):Likewise.
	(LIB_SPEC): Likewise.
	* config/i386/t-cygming (SHLIB_PTHREAD_CFLAG): New
	flag to pass -pthread option for shared libgcc build.
	(SHLIB_PTHREAD_LDFLAG): New option to pass -lpthread
	for shared libgcc build.
	* config/i386/t-mingw-pthread: New file.
	* config/i386/mingw-pthread.h (TARGET_USE_PTHREAD_BY_DEFAULT):
	New define to enable use of library pthread by default.
	* config/i386/mingw.opt (pthread): New driver option.
	(no-pthread): New driver option.
	* config/i386/cygming.opt: Make sure trailing empty line
	is retained.
	* config/i386/mingw-w64.opt: Likewise.


Modified:
    trunk/gcc/config.gcc
    trunk/gcc/config/i386/cygming.opt
    trunk/gcc/config/i386/mingw-w64.h
    trunk/gcc/config/i386/mingw-w64.opt
    trunk/gcc/config/i386/mingw.opt
    trunk/gcc/config/i386/mingw32.h
    trunk/gcc/config/i386/t-cygming


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