Get target libraries to obtain thread information from GCC
Alexandre Oliva
aoliva@redhat.com
Wed Apr 25 13:30:00 GMT 2001
On Apr 24, 2001, Alexandre Oliva <aoliva@redhat.com> wrote:
> This patch cleans up the thread-model recognition code in all target
> libraries such that it obtains the thread information out of GCC,
> instead of having (and failing) to duplicate the logic used in
> gcc/configure.in.
> Index: gcc/ChangeLog
> from Alexandre Oliva <aoliva@redhat.com>
> * configure.in (configargs.h): Define thread_model.
> * configure: Rebuilt.
> * gcc.c (main): Print it with -v.
I've got approval for libstdc++ and Java, and I don't need approval
for configure.in changes, but I need it for gcc.c. Could someone
please review it? TIA,
> Index: gcc/gcc.c
> ===================================================================
> RCS file: /cvs/gcc/egcs/gcc/gcc.c,v
> retrieving revision 1.219
> diff -u -p -r1.219 gcc.c
> --- gcc/gcc.c 2001年04月19日 20:28:05 1.219
> +++ gcc/gcc.c 2001年04月24日 13:57:02
> @@ -5792,6 +5792,8 @@ main (argc, argv)
> notice ("Configured with: %s\n", configuration_arguments);
> + notice ("Thread model: %s\n", thread_model);
> +
> /* compiler_version is truncated at the first space when initialized
> from version string, so truncate version_string at the first space
> before comparing. */
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
More information about the Java
mailing list