This is the mail archive of the ecos-discuss@sourceware.org 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]
Other format: [Raw text]

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


>>>>> "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


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