This is the mail archive of the gcc-help@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: Tutorial 4b


>Your littlegcc is compiled with the option --with-languages=c.
>I'm assuming that later you use this same compiler to build the
>full-blown gcc which contains c++ code. I'm out on a limb here since I
>don't know if by the time the error occurs you are using the c++
>enabled full-blown gcc or not. But if you compile the littlegcc
>without c++ support, might that not result in an error later trying to
>compile c++ libraries? 

littlegcc is just a c compiler used to build newlib which is required
to build libstdc++v3 in the fourth step.  In the fourth step when
building 'gcc', '--enable-languages=c,c++' forces a c++ compiler to be
built which is used to build libstc++v3(also in the fourth step).

I hope that makes it just the faintest bit clearer :-)

-- 
Peter Barada                                   Peter.Barada@motorola.com
Wizard                                         781-852-2768 (direct)
WaveMark Solutions(wholly owned by Motorola)   781-270-0193 (fax)


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