This is the mail archive of the 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: Where's the Cross-GCC FAQ ?

Hello Michael!
Hello All!

On Sunday 30 November 2008 20:30:19 Michael N. Moran wrote:
> Yann E. MORIN wrote:
> > C++ is certainly not available on bare-metal!
> That's wrong. Just as with C, some parts of the standard
> libraries may have dependencies on the OS, but the base
> language itself is readily usable on "bare-metal" ...

Yes, sorry for the mis-understanding.
I meant that crosstool-NG does not (yet?) support building a bare-metal C++

> However, there's no need to use crosstool of any flavor
> to build a bare-metal toolchain.

No more than building a /classic/ compiler do. It just makes life easier.

> I use binutils, GCC and 
> newlib to build cross bare metal toolchains.

In my opinion, a bare-metal compiler (whether it be C only, or any other
language) should not need any C library, not even newlib.

> I've attached a script that I use to build C/C++ for
> a mips-elf target. It's nothing fancy (it doesn't 
> download the pieces for you), but I think you
> can get the jist of building using this script. Just
> adjust the version numbers to suit your tastes. :)

Thank you! I'll have a look at what you're doing in there! :-)

Yann E. MORIN.

|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| --==< ^_^ >==-- `------------.-------:  X  AGAINST      |  \e/  There is no  |
| | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |

For unsubscribe information see

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