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] | |
Thank you John for your reply. I think I became a little bit knowledgeable.
Note that most of the eCos community is using GCC 4.3.2 so you may well discover a few compiler warnings and other issues if you build with GCC 4.4.0.
First I tried to use GCC 4.3.2 for installing h8300 ToolChain. But it resulted Segmentation error at configureration.
-- gcc4.3.2 confiure errror
/tmp/build/build_gcc/./gcc/xgcc -B/tmp/build/build_gcc/./gcc/ -nostdinc -B/tmp/build/build_gcc/h8300-elf/h8300s/normal/newlib/
-isystem /tmp/build/build_gcc/h8300-elf/h8300s/normal/newlib/targ-include
-isystem
/src/gcc-4.3.2/newlib/libc/include -B/gnutools/h8300-elf/bin/ -B/gnutools/h8300-elf/lib/
-isystem /gnutools/h8300-elf/include -isystem
/gnutools/h8300-elf/sys-include -ms -mn -DPACKAGE_NAME
=\"newlib\" -DPACKAGE_TARNAME=\"newlib\" -DPACKAGE_VERSION=\"1.16.0\" -DPACKAGE_STRING=\"newlib\
1.16.0\" -DPACKAGE_BUGREPORT=\"\" -I. -I/src/gcc-4.3.2/newlib/libm/math -I/src/gcc-4.3.2/newlib/libm/ma
th/../common -O2 -DSMALL_DTOA -DSMALL_MEMORY -fno-builtin -O2 -g -g -O2
-ms -mn -c -o lib_a-wf_lgamma.o `test -f 'wf_lgamma.c' || echo
'/src/gcc-4.3.2/newlib/libm/math/'`wf_lgamma.c
In file included from /src/gcc-4.3.2/newlib/libc/include/math.h:5,
from /src/gcc-4.3.2/newlib/libm/math/../common/fdlibm.h:15,
from /src/gcc-4.3.2/newlib/libm/math/wf_lgamma.c:17:
/src/gcc-4.3.2/newlib/libc/include/sys/reent.h:95: internal compiler error:
Segmentation fault
Please submit a full bug report,
---/opt/ecos/ecos-3.0/packages/language/c/libm/v3_0/src/mathincl/fdlibm.h:78:3:
error: #error IEEE-style 64-bit doubles are required to use the math library
You compiler is providing 32-bit doubles. You need 64-bit doubles in order to build the eCos math library. There's a patch available for the KPIT v0401 tools which may help:
http://www.cetoni.de/develop/develop_ecosh8s_en.html#a_broschueren
I downloaded the patch file but it is for use of GCC 3.3 source. I also get the same purpose patch file that is for GCC 3.3.2 source. I append it in zip file.
Attachment:
gcc_diff_new_patch.gz
Description: GNU Zip compressed data
-- 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] |