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

Re: PATCH [v4]: Support the FreeBSD 5.0 system thread library model


On Tue, May 22, 2001 at 12:03:32PM -0500, Loren James Rittle wrote:
> 	* config.gcc (the unlabeled system switch statement): Add
> 	generic configuration section to handle *-*-freebsd*.  Also,
> 	to match the system compiler, default to threading support (it
> 	may be disabled with the standard --disable-threads
> 	configuration-time switch).
> 	(i[34567]86-*-freebsd* in machine-specific section): Use it.
> 	(alpha*-*-freebsd* in machine-specific section): Likewise.
> 
> 	* config/freebsd.h (LIB_SPEC): Key the exact setting to
> 	configure-time options and target version of FreeBSD.  Set-up
> 	to match architectural change in threading support.  Correctly
> 	report when -pthread option is not supported by configure-time
> 	options.
> 	(FBSD_CPP_PREDEFINES): Move from architecture-specific files
> 	and extend to encode target version number in run-time setting
> 	of __FreeBSD__ macro to match the system compiler.
> 	(CPP_PREDEFINES): Likewise.
> 	(PREFERRED_DEBUGGING_TYPE): Change to DWARF2_DEBUG.
> 
> 	* config/alpha/freebsd.h (CPP_PREDEFINES): Moved to common freebsd.h.
> 	* config/i386/freebsd.h (CPP_PREDEFINES): Likewise.

Ok for mainline and branch.


r~


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