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

Re: gcc-in-cxx update / multi-targeted gcc


On Wed, 29 Apr 2009, Joseph S. Myers wrote:

> On Wed, 29 Apr 2009, Richard Earnshaw wrote:
>
> If you are building a non-C front end without bootstrapping you need at
> least 2.95:
>
>     To build all languages in a cross-compiler or other configuration where
>     3-stage bootstrap is not performed, you need to start with an existing
>     GCC binary (version 2.95 or later) because source code for language
>     frontends other than C might use GCC extensions.

STRICT_WARN (i.e. -pedantic) was added to all the frontends (except Ada)
many years ago.  So this comment about use of extensions requiring
gcc-2.95 might be obsolete.

I suspect you may be able to cross-build all of non-ada GCC with any ISO C
compiler right now (I haven't tried it though since I don't have access to
an appropriate system.)

		--Kaveh


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