This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Default Network Interface Card support in examples of book Anthony J. Massa - "eCos S/W dev"
- From: John Dallaway <john at dallaway dot org dot uk>
- To: Nodir Qodirov <nodir dot qodirov at gmail dot com>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Sat, 04 Apr 2009 16:04:46 +0100
- Subject: [ECOS] Re: Default Network Interface Card support in examples of book Anthony J. Massa - "eCos S/W dev"
- References: <186ad4050904040752t39982aa1x3179c17c7c56c50d@mail.gmail.com>
Hi Nodir
Nodir Qodirov wrote:
>>> -------------------------------->
>>> make[1]: *** [src/hal_misc.o.d] Error 1
>>> make[1]: *** Waiting for unfinished jobs....
>>> cc1.exe: Invalid option `-finline-limit=7000'
>
>> It looks like you need to upgrade your compiler. It does not recognize
>> this compiler option, which is should do. So i guess you have an old
>> version of the compiler.
>> Andrew
>
> Dear Andrew, first of all thanks for advice!
>
> I updated all of my development tools with latest available ones
> (binutils-2.19.1. insight-6.8. gcc-4.3.3.) and with latest eCos
> repository too. I tried again and again 3 times (2 times at one
[ snip ]
> i386-elf-gcc -g -nostdlib -Wl,--gc-sections -Wl,-static
> -L/ecos-d/workdir/redboot_realtek/redboot_install/lib -Ttarget.ld -o
> /ecos-d/workdir/redboot_realtek/redboot_install/bin/redboot.elf
> /ecos-d/workdir/redboot_realtek/redboot_install/lib/version.o
> /tools/H-I686~1/bin/../lib/gcc/i386-elf/4.3.3/../../../../../H-i686-pc-cygwin/i386-elf/bin/ld:
> cannot find libgcc.a
> collect2: ld returned 1 exit status
> make[1]: *** [/ecos-d/workdir/redboot_realtek/redboot_install/bin/redboot.elf]
> Error 1
> make[1]: Leaving directory
> `/ecos-d/workdir/redboot_realtek/redboot_build/redboot/current'
> make: *** [build] Error 2
> make: Leaving directory `/ecos-d/workdir/redboot_realtek/redboot_build'
I suggest you verify correct linking with the latest pre-built
Cygwin-hosted eCos i386-elf toolchain. It can be downloaded at:
ftp://ecos.sourceware.org/pub/ecos/gnutools/cygwin/ecoscentric-gnutools-i386-elf-20081107-sw.cygwin.tar.bz2
or at the equivalent location on your local sourceware.org mirror site.
John Dallaway
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss