MULTILIB_EXTRA_OPTS and LIBGCC2_CFLAGS

2011-06-17 Thread Paulo J. Matos
Hi all, I am quite confused about the difference between the above two options in Makefile fragments. They both seem to be doing the same thing which is to set the options to build libgcc2 with. The only thing that comes to mind is that LIBGCC2_CFLAGS only applies to the main library and

Re: MULTILIB_EXTRA_OPTS and LIBGCC2_CFLAGS

2011-06-17 Thread Ian Lance Taylor
Paulo J. Matos pocma...@gmail.com writes: I am quite confused about the difference between the above two options in Makefile fragments. They both seem to be doing the same thing which is to set the options to build libgcc2 with. The only thing that comes to mind is that LIBGCC2_CFLAGS only

Re: MULTILIB_EXTRA_OPTS and LIBGCC2_CFLAGS

2011-06-17 Thread Paulo J. Matos
On 17/06/11 15:22, Ian Lance Taylor wrote: LIBGCC2_CFLAGS applies only to libgcc (all multilib versions of libgcc). MULTILIB_EXTRA_OPTS applies to all target libraries (libstdc++, libjava, libgo, etc.). Thanks for clearing that up for me. Since I am focused on the C frontend only I actually