This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
eCos problem: if_lancepci.c does not compile for i386 (vmWare)
- From: Waskita Adijarto <waszbulk at hq dot ee dot itb dot ac dot id>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Mon, 24 Aug 2009 15:11:50 +0700
- Subject: [ECOS] eCos problem: if_lancepci.c does not compile for i386 (vmWare)
- Virus-scanned: antivirus-ITB
I've just found problem compiling if_lancepci.c under eCos. After
googling , I found similar problem in the archive here:
http://www.mail-archive.com/ecos-discuss@ecos.sourceware.org/msg09854.html.
I used similar new gnutools
(ecoscentric-gnutools-i386-elf-20081107-sw.cygwin.tar.bz2)
I experienced this problem while compiling eCos 3.0 and 1.0.8 (from
gaisler) in cygwin
Tool chain version:
$ i386-elf-gcc -v
Using built-in specs.
Target: i386-elf
Configured with: /gnutools/src/toolchains/gcc/gcc-4.3.2/configure -v --target=i386-elf --prefix=/gnutools/builds/toolchains/i386-elf/tools --with-newlib --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --disable-__cxa_atexit --enable-threads --with-bugurl=http://bugs.ecos.sourceware.org/ --with-pkgversion='eCosCentric GNU tools 4.3.2-sw'
Thread model: single
gcc version 4.3.2 (eCosCentric GNU tools 4.3.2-sw)
My solution: use old gnutools
(ecoscentric-gnutools-i386-elf-1.4-2.cygwin.tar.bz2) . The problem goes
away.
tool chain version:
$ i386-elf-gcc -v
Reading specs from /opt/gnutools/i386-elf/bin/../lib/gcc-lib/i386-elf/3.2.1/specs
Configured with: /local/demonweb/tools/ecos-gnutools-v1.4/r2/i386-elf/cygwin/tar_bz2/source/gcc-3.2.1/configure --target=i386-elf --prefix=/local/demonweb/tools/ecos-gnutools-v1.4/r2/i386-elf/cygwin/tar_bz2/opt/ecos/gnutools/i386-elf --enable-languages=c,c++ --with-gnu-as --with-gnu-ld --with-newlib --with-gxx-include-dir=/local/demonweb/tools/ecos-gnutools-v1.4/r2/i386-elf/cygwin/tar_bz2/opt/ecos/gnutools/i386-elf/i386-elf/include
Thread model: single
gcc version 3.2.1
I wonder why gcc 4.3.2 behave so different than 3.2.1
-waskita-
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss