[U-Boot] Building C++ Examples

Wolfgang Denk wd at denx.de
Fri Jun 4 21:59:56 CEST 2010


Dear "Chris Colicino",

In message <0EFBD15D5E328044B08E8B274F42A8B001A129E3 at exch.afcosystems.local> you wrote:
> 
> Does u-boot support C++ example programs and if so, how can I build one?

U-Boot does not support C++.

In addition to the (simple) Makefile problems that you saw here (not
using the right cross compiler) you would run into more severe issues
later: U-Boot does not even attempt to provide the runtime environment
needed for C++.

Keep in mind that U-Boot is a boot loader. If you have fancy things
like C++ code you should use an operating system instead.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
1 1 was a race-horse, 2 2 was 1 2. When 1 1 1 1 race, 2 2 1 1 2.


More information about the U-Boot mailing list