This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: build "Hello world"
- To: Jesper Skov <jskov at redhat dot com>
- Subject: Re: [ECOS] build "Hello world"
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Thu, 02 Aug 2001 18:26:20 +0100
- Cc: "Y.P.Liu." <86321019 at stu dot csie dot ncnu dot edu dot tw>,ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <20010802011852.5FA2.86321019@stu.csie.ncnu.edu.tw> <otd76efxx8.fsf@zoftcorp.adsl.dk>
Jesper Skov wrote:
>
> >>>>> "Y" == Y P Liu <86321019@stu.csie.ncnu.edu.tw> writes:
>
> Y> Please help me ... I can's build the "Hello world" program . the
> Y> list is my environment
>
> Get the latest eCos from CVS. Version 1.3.1 is obsolete.
That's not the problem here. This is a tools issue:
> .....XCC = i386-elf-gcc
> ....
>
> in C:\Program Files\Red Hat\eCos\examples\
> I type "gcc -g -I/ework/ework_install/include hello.c
> -L/ework/ework_install/lib -Ttarget.ld -nostdlib "
No, you should type i386-elf-gcc -g -I/ework/ework_install/include hello.c
-L/ework/ework_install/lib -Ttarget.ld -nostdlib
Using "gcc" is wrong because that is your native gcc, in your case for
cygwin.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine