This is the mail archive of the
ecos-discuss@sourceware.cygnus.com
mailing list for the eCos project.
Re: Error compiling for Arm
- To: Eric Fradette <emf8 at po dot cwru dot edu>
- Subject: Re: [ECOS] Error compiling for Arm
- From: Jonathan Larmour <jlarmour at redhat dot co dot uk>
- Date: Wed, 14 Jun 2000 16:03:36 +0100
- CC: ecos-discuss at sourceware dot cygnus dot com
- Organization: Red Hat UK Ltd.
- References: <NEBBLBCPCLNPKNANBKIKGEBECAAA.emf8@po.cwru.edu>
Eric Fradette wrote:
>
> I am running cygwin 1.1.2, and ecos 1.3.1 on NT and followed the
> installation instructions on the cygnus web site. However, when I try to
> compile the simple hello world program I get a bunch of errors with the
> include files from eCos 1.3.1. Here are the errors I am given. I tried
> rebuiling the tools and it didn't help, is it an eCos problem or gcc, or is
> it just me. Here is what I did.
>
> Thanks
> Eric
>
> bash-2.04$ arm-elf-gcc -g -Iecos_install/include
> hello.c -Lecos_install/lib -Tt
> arget.ld -nostdlib
> In file included from ecos_install/include/stdio.h:56,
> from hello.c:2:
> ecos_install/include/cyg/infra/cyg_type.h:161: parse error before `__tmp1'
Unfortunately you can currently only build eCos on a cygwin mount point
mounted in text mode. So make sure your directory ecos_install is on a
text-mode mount point, e.g. by using something like
mount c:/ /c
cd /c/ecosbuild
arm-elf-gcc -g -Iecos_install/include hello.c -Lecos_install/lib
-Ttarget.ld -nostdlib
Jifl
--
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow." || These opinions are all my own fault