[ECOS] build "Hello world"
Jonathan Larmour
jlarmour@redhat.com
Thu Aug 2 10:29:00 GMT 2001
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
More information about the Ecos-discuss
mailing list