This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: soft-fp functions support without using libgcc
- From: Sheheryar Zahoor Qazi <sheheryar dot zahoor dot qazi at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Wed, 21 May 2014 12:30:02 +0200
- Subject: Re: soft-fp functions support without using libgcc
- Authentication-results: sourceware.org; auth=none
- References: <CANOiJWLsqPSyeCz3EkvYH4OWZrkC1KttqJ_jrQiwUMPFgh64XA at mail dot gmail dot com> <CAKOQZ8zOQg9dg_XauuVBYEtv_xHkN9icCX5X=F445y_G4Fu90g at mail dot gmail dot com> <2D02775B-8F70-487C-8FF8-B69B6006E1ED at dell dot com> <CANOiJWKqgtGPoHupWdjkkCa_7rfYi0xe+JU7E-bjxABi+QaiqA at mail dot gmail dot com> <CAKOQZ8w+2Xq=ZZG5NwmOMtxE6+WncePrN4G2em3BwBvgcReDag at mail dot gmail dot com> <CANOiJW+eRw09vkAmigpG0jZLM86Z7TEb=kMkySXSOS-2q9k8DQ at mail dot gmail dot com> <CAKOQZ8yD_zGacOocmTpMTD=5aRaE++q8g6HJyfOTLhKEpF5R2Q at mail dot gmail dot com>
On Tue, May 20, 2014 at 10:47 PM, Ian Lance Taylor <iant@google.com> wrote:
> On Tue, May 20, 2014 at 12:51 PM, Sheheryar Zahoor Qazi
> <sheheryar.zahoor.qazi@gmail.com> wrote:
>> Hi again!
>>
>>>>You need to look in target-arch/libgcc/config.log to see what the
>>>>problem is.
>> config.log states the following error:
>> configure:2590: checking for suffix of object files
>> configure:2611: /home/lab/target/target-gcc/builddir/./gcc/xgcc
>> -B/home/lab/target/target-gcc/builddir/./gcc/ -B/usr/local/target/bin/
>> -B/usr/local/target/lib/ -isystem /usr/local/target/include -isystem
>> /usr/local/target/sys-include -c -g -O2 conftest.c >&5
>> /home/laboruser/spartanmc/spartanmc-gcc/builddir/./gcc/as: 76: exec: :
>> Permission denied
>> configure:2614: $? = 1
>> configure: failed program was:
>> | /* confdefs.h. */
>>
>> Is it complaining for root access??
>
>
> Please reply to the mailing list, not just to me. Thanks.
>
> I doubt it is a root access issue. Look at the permissions of the
> gcc/as file. You will probably need to debug it a bit to find out why
> it is failing. It's just a shell script so it shouldn't be too hard.
>
>
>>>>It's because libgcc was not built.
>> What are my options to provide software floating point support to my
>> architecture if I am unable to build libgcc for my target?
>> Any example implementation??
>
> Building libgcc is not optional. It is required for all targets.
>
> Ian