This is the mail archive of the ecos-discuss@sources.redhat.com 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]

Re: Build problem "Hellow world " in i386& win2000


"Y.P.Liu." wrote:
> 
> Thanks with your help.
> I use the step which you tell me
> -----------------
> type i386-elf-gcc -g -I/ework/ework_install/include hello.c
>  -L/ework/ework_install/lib -Ttarget.ld -nostdlib
> -----------------
> but I still can't work it correctly.
> 
> ps. this is my error message
> ----------------------------------
> bash.exe-2.05$ i386-elf-gcc -g -I/ework/ework_install/include hello.c -L/ework/
> ework_install/lib -Ttarget.ld -nostdlib
> In file included from /ework/ework_install/include/stdio.h:56,
>                  from hello.c:2:
> /ework/ework_install/include/cyg/infra/cyg_type.h:160: parse error before `__tmp
> 1'

This looks a lot like a line ending problem. Make sure your /ework tree is
mounted with a text mode mount point in cygwin. Type "mount" to see your
current mounts and "mount --help" in cygwin for help.

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


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