From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2366 invoked by alias); 7 Jun 2007 18:18:09 -0000 Received: (qmail 2358 invoked by uid 22791); 7 Jun 2007 18:18:08 -0000 X-Spam-Check-By: sourceware.org Received: from elasmtp-masked.atl.sa.earthlink.net (HELO elasmtp-masked.atl.sa.earthlink.net) (209.86.89.68) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 07 Jun 2007 18:18:05 +0000 Received: from [76.167.219.232] (helo=PAULD) by elasmtp-masked.atl.sa.earthlink.net with asmtp (Exim 4.34) id 1HwMYb-0003T5-N4; Thu, 07 Jun 2007 14:18:01 -0400 From: "Paul D. DeRocco" To: "'John Macdonald'" , Date: Fri, 08 Jun 2007 10:59:00 -0000 Message-ID: <022701c7a930$2c4ff370$887ba8c0@PAULD> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook, Build 10.0.6822 In-Reply-To: <1181222113.10765.12.camel@localhost> X-ELNK-Trace: bd7d5d4e6f8f652c74cfc7ce3b1ad11381c87f5e5196068809f5d79d0477945fadcb1bc3f236d41b350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: RE: [ECOS] arm-elf-g++ problem X-SW-Source: 2007-06/txt/msg00088.txt.bz2 > 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 > #include > > 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