This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
RE: arm-elf-g++ problem
- From: "Paul D. DeRocco" <pderocco at ix dot netcom dot com>
- To: "'John Macdonald'" <john dot macdonald at nautronix dot co dot uk>, <ecos-discuss at ecos dot sourceware dot org>
- Date: Thu, 7 Jun 2007 11:17:56 -0700
- Subject: RE: [ECOS] arm-elf-g++ problem
> From: John Macdonald
>
> I am trying to compile some software for the Atmel AT91
> processor under eCos. However, I am having trouble with my
> compiler. I built the arm-elf toolchain using the
> instructions on the eCos website. I then used the eCos
> configtool to configure eCos for the default Atmel evaluation
> board (EB40). However, if I try to compile:
>
> //#include <stdio.h>
> #include <iostream>
>
> int main()
> {
>
> // printf("Hello\n\r");
> cout << "Hello\n";
>
> }
Add "using namespace std;".
--
Ciao, Paul D. DeRocco
Paul mailto:pderocco@ix.netcom.com
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss