Hello,
The image you attached shows there is a "linaro" directory, but not its contents. Morever you have a typo: Zhenqiang told you to use the build.mk and you say you cannot find build.ml. Fix your command line.
On 25 June 2014 18:05, shining_diamond@mail.com wrote:
Hello,
In order to build the ARM crosscompiler I am supposed to use the command
make -f contrib/linaro/build.mk TARGETS=... HOST=linux
However, I cannot find the file build.ml You can see in the attached image that it is not in the linaro folder.
Any ideas what is going wrong?
Thank you Haris Papadopoulos
Sent: Wednesday, June 25, 2014 at 1:21 PM From: "-- --" shining_diamond@mail.com To: "Zhenqiang Chen" zhenqiang.chen@linaro.org Subject: Re: Urgent: How to build linaro crosscompiler Yes I do use it.
Please see attached capture image with ls-a to show hidden files
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-...
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-... 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-ar...
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-ar...
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-ar... For Linux host:
http://releases.linaro.org/14.05/components/toolchain/binaries/gcc-linaro-ar...
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
linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain