[ECOS] Hi,I have a problem about the latest ecos snapshot file(ecos-trunk-full-061015.tar.gz), thank you

Bart Veer bartv@ecoscentric.com
Thu Oct 19 09:54:00 GMT 2006


>>>>> "Tom" == =?BIG5?Q?=C1=C2=A8=C9=AA=F7 (tom) ?= <BIG5> writes:

    Tom> ecosconfig new linux (I use default package)
    Tom> i386-elf-gcc -g -I /(ecos kernel directory)/include helloworld.c -L /(ecos kernel directory)/lib -Ttarget.ld -nostdlib

    Tom> (helloworld.c is copy from example directory in the ecos directory)

    Tom> and there will have a message:
    Tom> /gnutools/lib/gcc/i386-elf/4.0.3/../../../../i386-elf/bin/ld: cannot find libgcc_eh.a
    Tom> collect2: ld returned 1 exit status

Use gcc when building the synthetic target on a Linux host. Use
i386-elf-gcc when building for an embedded x86 target.

Bart

-- 
Bart Veer                       eCos Configuration Architect
http://www.ecoscentric.com/     The eCos and RedBoot experts

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list