This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos 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: 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


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