Hello, as I mentioned in previous emails I cannot build the Linaro toolchain. I type the following commands:
 
wget http://releases.linaro.org/14.05/components/toolchain/binaries/gcc-linaro-arm-linux-gnueabihf-4.9-2014.05_linux.tar.xz
tar -xf gcc-linaro-arm-linux-gnueabihf-4.9-2014.05_linux.tar.xz
cd gcc-linaro-arm-linux-gnueabihf-4.9-2014.05_linux
sudo su
apt-get build-dep gcc binutils gdb
apt-get install texlive flip
cd lib
wget http://releases.linaro.org/14.04/components/toolchain/binaries/crosstool-ng-linaro-1.13.1-4.8-2014.04.tar.bz2
tar -xf crosstool-ng-linaro-1.13.1-4.8-2014.04.tar.bz2
cd crosstool-ng-linaro-1.13.1-4.8-2014.04
rm "USE_LSBCC ?= CT_BUILD_USE_LSBCC=y" from contrib/linaro/build.mk
make -f contrib/linaro/build.mk TARGETS=... HOST=linux
 
 
***********ERROR: I get the following error*********************************************
 
make: contrib/linaro/build.mk: No such file or directory
make: *** No rule to make target `contrib/linaro/build.mk'.  Stop.
 
*********************************************************************************
 
There is no build.ml file   .What is wrong?
 
Also, I do not understand what exactly to do below. Any help?
 
 *Building requires /bin/sh to be bash. See http://crosstool-ng.org/ for more
 * Download the `src` archive
 * Download and extract the crosstool-NG tarball
 * Change to the crosstool-NG directory
 * Extract the `src` archive giving `tarballs/binutils-*` and similar
 
 
 
Thank you
Papadopoulos Haris
 
 
-----------------------------------------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------------------------------------
 
Sent: Thursday, June 26, 2014 at 5:36 AM
From: "Zhenqiang Chen" <zhenqiang.chen@linaro.org>
To: "-- --" <shining_diamond@mail.com>
Subject: Re: Urgent: How to build linaro crosscompiler
I had downloaded and tried the tarball. It does have contrib/linaro/build.mk

On 25 June 2014 18:21, -- -- <shining_diamond@mail.com> wrote:
> Yes I do use it.
>
> Please see attached capture image with ls-a to show hidden files
>
> Should we talk via skype?
>
> Thanks
> Haris Papadopoulos
>
> Sent: Wednesday, June 25, 2014 at 1:01 PM
>
> From: "Zhenqiang Chen" <zhenqiang.chen@linaro.org>
> To: "-- --" <shining_diamond@mail.com>
> Subject: Re: Urgent: How to build linaro crosscompiler
> On 25 June 2014 17:57, -- -- <shining_diamond@mail.com> wrote:
>> Hello,
>>
>> there is no build.mk file
>
> Do you use Linaro scripts?
>
> wget
> http://releases.linaro.org/14.04/components/toolchain/binaries/crosstool-ng-linaro-1.13.1-4.8-2014.04.tar.bz2
>
>
>> where can I find that?
>>
>> Thank you
>> Haris Papadopoulos
>> Sent: Wednesday, June 25, 2014 at 9:49 AM
>>
>> From: "Zhenqiang Chen" <zhenqiang.chen@linaro.org>
>> To: "-- --" <shining_diamond@mail.com>
>> Subject: Re: Urgent: How to build linaro crosscompiler
>> On 24 June 2014 23:30, <shining_diamond@mail.com> wrote:
>>> Dear Sir,
>>>
>>> thank you for your reply. Would it be possible that I contact you
>>> regarding
>>> this matter?
>>>
>>> I cannot find any file containg "USE_LSBCC ?= CT_BUILD_USE_LSBCC=y"
>>
>> This is for linaro crosstool-ng. If you use crosstool-ng trunk code.
>> You do not need to change it.
>>
>>
>>> Also, for the command apt-get install gcc-mingw32 gcc-4.1 g++-4.1
>>> gcc-4.1-multilib g++-4.1-multilib
>>
>> gcc version depends on the host OS. Please try to get gcc version by
>>
>> gcc -v
>>
>> The are for multilib and windows build. I guess you do not need them.
>>
>>
>>> I get the following error
>>>
>>> E: Unable to locate package gcc-mingw32
>>> E: Package 'gcc-4.1' has no installation candidate
>>> E: Unable to locate package g++-4.1
>>> E: Couldn't find any package by regex 'g++-4.1'
>>> E: Unable to locate package gcc-4.1-multilib
>>> E: Couldn't find any package by regex 'gcc-4.1-multilib'
>>> E: Unable to locate package g++-4.1-multilib
>>> E: Couldn't find any package by regex 'g++-4.1-multilib'
>>>
>>> Also, there are the commands:
>>>
>>> * Building requires /bin/sh to be bash. See http://crosstool-ng.org/ for
>>> more
>>> * Download the `src` archive
>>> * Download and extract the crosstool-NG tarball
>>> * Change to the crosstool-NG directory
>>> * Extract the `src` archive giving `tarballs/binutils-*` and similar
>>>
>>> How do I fix these? Can you please provide me with more detailed
>>> instructions?
>>
>> wget
>>
>> http://releases.linaro.org/14.04/components/toolchain/binaries/crosstool-ng-linaro-1.13.1-4.8-2014.04.tar.bz2
>> tar -xf crosstool-ng-linaro-1.13.1-4.8-2014.04.tar.bz2
>> cd crosstool-ng-linaro-1.13.1-4.8-2014.04
>> rm "USE_LSBCC ?= CT_BUILD_USE_LSBCC=y" from contrib/linaro/build.mk
>> make -f contrib/linaro/build.mk TARGETS=... HOST=linux
>>
>> Update builds/$TARGETS-linux/.config to meet your special requirement.
>>
>>
>>> Sent: Tuesday, June 24, 2014 at 5:11 AM
>>> From: "Zhenqiang Chen" <zhenqiang.chen@linaro.org>
>>> To: "-- --" <shining_diamond@mail.com>
>>> Cc: "Christophe Lyon" <christophe.lyon@linaro.org>, linaro-toolchain
>>> <linaro-toolchain@lists.linaro.org>
>>> Subject: Re: Urgent: How to build linaro crosscompiler
>>> On 23 June 2014 21:44, <shining_diamond@mail.com> wrote:
>>>> Hello,
>>>>
>>>> I am trying to crosscompile on my laptop for an arm v7 processor, using
>>>> the
>>>> linaro toolchain.
>>>>
>>>> I downloaded the following :
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> http://releases.linaro.org/14.05/components/toolchain/binaries/gcc-linaro-arm-linux-gnueabihf-4.9-2014.05_linux.tar.xz
>>>>
>>>> In order to build it, I am using the instructions provided in the README
>>>> located in
>>>>
>>>>
>>>>
>>>>
>>>> http://releases.linaro.org/14.05/components/toolchain/binaries/gcc-linaro-arm-linux-gnueabihf-4.9-2014.05_linux.tar.xz
>>>>
>>>> However, the instructions do not work, several packages are missing
>>>> (e.g.
>>>> apt-get install lsb lsb-build-cc3 lsb-appchk3 ccache )
>>>>
>>>> Can someone please help urgently because I need to build the compiler?
>>>
>>> lsb related staff are not necessary. Please ignore them and remove the
>>> following line
>>>
>>> USE_LSBCC ?= CT_BUILD_USE_LSBCC=y
>>>
>>> from contrib/linaro/build.mk
>>>
>>>
>>>> Thank you
>>>> Haris Papadopoulos
>>>>
>>>>
>>>> Sent: Saturday, June 21, 2014 at 1:12 PM
>>>> From: "-- --" <shining_diamond@mail.com>
>>>> To: "Christophe Lyon" <christophe.lyon@linaro.org>,
>>>> linaro-toolchain@lists.linaro.org
>>>> Subject: How to build linaro crosscompiler
>>>> Thank you,
>>>>
>>>> in order to build the compiler, should I use the following file?
>>>>
>>>>
>>>>
>>>>
>>>> /home/user/Desktop/new_linaro/gcc-linaro-arm-linux-gnueabihf-4.9-2014.05_linux/share/doc/gcc-linaro-arm-linux-gnueabihf/README.txt
>>>>
>>>> Thank you
>>>>
>>>>
>>>> Sent: Wednesday, June 18, 2014 at 6:31 PM
>>>> From: "Christophe Lyon" <christophe.lyon@linaro.org>
>>>> To: shining_diamond <shining_diamond@mail.com>
>>>> Subject: Re: Re: Crosscompile for arm
>>>> Here are the direct links:
>>>> For Windows host:
>>>>
>>>>
>>>>
>>>> http://releases.linaro.org/14.05/components/toolchain/binaries/gcc-linaro-arm-linux-gnueabihf-4.9-2014.05-20140523_win32.exe
>>>> For Linux host:
>>>>
>>>>
>>>>
>>>> http://releases.linaro.org/14.05/components/toolchain/binaries/gcc-linaro-arm-linux-gnueabihf-4.9-2014.05_linux.tar.xz
>>>>
>>>>
>>>>
>>>> On 18 June 2014 17:24, shining_diamond <shining_diamond@mail.com> wrote:
>>>>> Great thanks !
>>>>>
>>>>> And from the binaries which is the correct one to crosscompile with gcc
>>>>> for
>>>>> arm v7 architecture ?
>>>>>
>>>>> Thank you
>>>>> --
>>>>> Sent from my Android phone with mail.com Mail. Please excuse my
>>>>> brevity.
>>>>>
>>>>>
>>>>> Christophe Lyon <christophe.lyon@linaro.org> wrote:
>>>>>>
>>>>>> 4.5 is now very old. I suspect you actually downloaded the source
>>>>>> version.
>>>>>>
>>>>>> I think you'd rather want to download a binary archive, which are
>>>>>> located in the "Binaries" section, then choose if you prefer the Linux
>>>>>> or the Windows version.
>>>>>>
>>>>>> There is plenty of documentation inside (for instance as .pdf
>>>>>> documents)
>>>>>>
>>>>>> Christophe.
>>>>>>
>>>>>>
>>>>>> On 18 June 2014 16:53, -- -- <shining_diamond@mail.com> wrote:
>>>>>> > Dear Christophe,
>>>>>> >
>>>>>> > thank you for your answer.
>>>>>> >
>>>>>> > I went under the "toolchain" list and chose gcc linaro 4.5
>>>>>> >
>>>>>> > However, I do not see any documentation there. Could you please
>>>>>> > indicate
>>>>>> > where is the documentation for this toolchain?
>>>>>> >
>>>>>> > Thank you
>>>>>> > Haris
>>>>>> >
>>>>>> > Sent: Wednesday, June 18, 2014 at 5:08 PM
>>>>>> > From: "Christophe Lyon" <christophe.lyon@linaro.org>
>>>>>> > To: "-- --" <shining_diamond@mail.com>
>>>>>> > Cc: "Linaro Toolchain" <linaro-toolchain@lists.linaro.org>
>>>>>> > Subject: Re: Crosscompile for arm
>>>>>> > On 17 June 2014 18:24, -- -- <shining_diamond@mail.com> wrote:
>>>>>> >> Hello,
>>>>>> >>
>>>>>> >> I am trying to crosscompile on my laptop for Arm v7
>>>>>> >>
>>>>>> >> I cannot understand how the linaro toolchain works. I do not see
>>>>>> >> and
>>>>>> >> .pdf
>>>>>> >> documentation
>>>>>> >>
>>>>>> >> Can you please provide me with some documentation to start with?
>>>>>> >>
>>>>>> >> Thank you
>>>>>> >> Haris
>>>>>> >>
>>>>>> >
>>>>>> > Hello,
>>>>>> >
>>>>>> > You should go to http://www.linaro.org/downloads/ and download the
>>>>>> > cross-toolchain you are interested in.
>>>>>> > We provide binary toolchain64 ready to install & use, and the source
>>>>>> > version if you want to rebuilt it yourself.
>>>>>> >
>>>>>> > They contain all the documentation.
>>>>>> >
>>>>>> > Christophe.
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> linaro-toolchain mailing list
>>>> linaro-toolchain@lists.linaro.org
>>>> http://lists.linaro.org/mailman/listinfo/linaro-toolchain
>>>>
>>>
>>>