This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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: bare metal C++


On Nov 3, 2009, at 9:39 AM, Michael N. Moran wrote:

Allen Curtis wrote:
How do you create a bare metal cross compiler with C++ support? From the reading I have done, it appears that you need newlib for the general C functions and then you need glibc for the C++ stuff. Is this correct?

No. I use GCC/newlib bare metal and C++ frequently. GLIBC and Newlib have equivalent functionality. Newlib is intended for embedded targets.

C++ support is part of GCC.


Yes, I have built GCC with c/c++ language support and newlib. What you do not get are the libraries. Where you do get the std:: classes?


- Allen

--
For unsubscribe information see http://sourceware.org/lists.html#faq


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