public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "m mariga" <ma_ariga@yahoo.co.jp>
To: "John Dallaway" <john@dallaway.org.uk>
Cc: <ecos-discuss@ecos.sourceware.org>
Subject: Re: [ECOS] Re: h8300 cannot find libgcc.a
Date: Wed, 22 Jul 2009 12:28:00 -0000	[thread overview]
Message-ID: <3F8ED0BDC83C43259ADD0DDE963395DF@masahiro> (raw)
In-Reply-To: <4A65D8D3.9060400@dallaway.org.uk>

[-- Attachment #1: Type: text/plain, Size: 2802 bytes --]

Hello,John,and everybody,

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

I asked to gcc mailing list but could not get reply.
I tried to use GCC 4.4.0 and there was no error,so I am determined to use 
GCC 4.4.0.

>> /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.

I studied it and learned that I could not use it for GCC 4.4.0 source per 
se.
I searched Internet for newer patch corresponding to GCC 4.4.0 or at least 
to GCC 4.3.2 but could not find one.
Couldn't it be possible that you send me the newer patch corresponding to 
GCC 4.4.0 or at least to GCC 4.3.2 ?

If I could not get it I must study the old patch and change the GCC 4.4.0 
source manually.
It is hard, isn't it, because there are too differences between GCC 3.3.2 
and GCC 4.4.0.

Do you have any better idea ?

m mariga

[-- Attachment #2: gcc_diff_new_patch.gz --]
[-- Type: application/x-gzip, Size: 3058 bytes --]

[-- Attachment #3: Type: text/plain, Size: 148 bytes --]

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

  reply	other threads:[~2009-07-22 12:28 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-21 14:08 [ECOS] " m mariga
2009-07-21 15:04 ` [ECOS] " John Dallaway
2009-07-22 12:28   ` m mariga [this message]
2009-07-22 13:58     ` John Dallaway
2009-07-23 21:32       ` m mariga
2009-07-24  8:34         ` John Dallaway
2009-07-28 14:40           ` m mariga
2009-08-09 23:11             ` m mariga
2009-08-17  7:42               ` John Dallaway
2009-09-04  5:54               ` [ECOS] How to set GDB Stub Options in order to run insight ? m mariga
2009-09-04  9:38                 ` [ECOS] " John Dallaway
2009-09-04 18:33                   ` m mariga
2009-09-07  9:40                     ` m mariga
2009-09-07 11:31                       ` John Dallaway
2009-09-07 16:10                         ` [ECOS] cyg_scheduler_lock and DSR's Jim Bradleigh
2009-09-11 20:37                           ` Bart Veer
2009-09-08 10:15                         ` [ECOS] Re: How to set GDB Stub Options in order to run insight ? m mariga
2009-09-28  9:54                           ` [ECOS] About h8000 eCos GDB-Stub m mariga
2009-09-30 10:06                             ` m mariga
2009-10-16 14:34                               ` [ECOS] How to connect RedBoot via Telnet running application m mariga
2009-10-16 14:42                                 ` Gary Thomas
     [not found]                                   ` <6FC88324D6C144EFB39FFE3CBF0E5B8D@masahiro>
2009-10-16 15:40                                     ` Gary Thomas
2009-10-16 16:11                                       ` m mariga
2009-10-16 16:43                                       ` m mariga
2009-10-16 16:54                                         ` Gary Thomas
2009-09-19  1:51                         ` [ECOS] Re: How to set GDB Stub Options in order to run insight ? m mariga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3F8ED0BDC83C43259ADD0DDE963395DF@masahiro \
    --to=ma_ariga@yahoo.co.jp \
    --cc=ecos-discuss@ecos.sourceware.org \
    --cc=john@dallaway.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).