This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Hi,I have a problem about the latest ecos snapshot file(ecos-trunk-full-061015.tar.gz), thank you
- From: Bart Veer <bartv at ecoscentric dot com>
- To: palapala at iii dot org dot tw
- Cc: ecos-discuss at sources dot redhat dot com
- Date: 19 Oct 2006 10:54:27 +0100
- Subject: Re: [ECOS] Hi,I have a problem about the latest ecos snapshot file(ecos-trunk-full-061015.tar.gz), thank you
- References: <28f93feaa114e113d4131b0f9675e6da@iii.org.tw>
>>>>> "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