This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Canadian build and CT_TARGET fails


On 01. aug. 2012 08:41, Per Arnold Blaasmo wrote:
> On 01. aug. 2012 08:39, Yann E. MORIN wrote:
>> Per-Arnold, All,
>>
>> On Wednesday 01 August 2012 08:31:37 Per Arnold Blaasmo wrote:
>>> I am trying to do a Canadian cross from:
>>>
>>> build  = x86_64-unknown-linux-gnu
>>> host   = i686-pc-mingw32
>>> target = arm-none-eabi
>>>
>>> But I in step 'Installing pass-2 core C compiler' I get:
>>>> [ALL  ]    arm-none-eabi-gcc -dumpspecs > tmp-specs
>>>> [ALL  ]    /usr/bin/bash: arm-none-eabi-gcc: command not found
>>
>> Can you send your .config please?
>>
>> Regards,
>> Yann E. MORIN.
>>
> Here it is.
> This is how it look s right now :-)
> 
> Per A.
> 

I found for GCC in gcc/Makefile.in these lines that seems to cause the
error:

> # Dump a specs file to make -B./ read these specs over installed ones.
> $(SPECS): xgcc$(exeext)
>         $(GCC_FOR_TARGET) -dumpspecs > tmp-specs
>         mv tmp-specs $(SPECS)

It uses GCC_FOR _TARGET. Which is set to 'arm-non-eabi', but since we do
not have that one ready yet at this point it will fail unless you have
it in your path prebuilt.

I found a bug on internet that indicates that it has something to do
with LTO, so I will try to compile without that.


Per A.


--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]