I suggest you contact our support team: https://support.linaro.org/home
Christophe.
On 1 July 2014 13:20, -- -- shining_diamond@mail.com wrote:
Dear Alexis,
thank you very much for the information below. However I stil do not understand. Only by doing an untar of the tar file to the selected program, we have access to the toolchain? Without installing anything?
Another question:
I want to compile some c code targeting once armv7-a without neon, then armv7-a with neon, then armv7-a without thumb, then armv7-a with thumb.
I want to produce the relevant assembly files, but also the corresponding elf files.
Can someone please provide me with the needed instrucations? I am confused with the "as","gcc", "binutils" tools.
Thank you Papadopoulos Haris
Sent: Thursday, June 26, 2014 at 9:56 PM From: "Alexis Fajardo Moya" afmoya@uclv.cu To: linaro-toolchain@lists.linaro.org Subject: Re: URGENT: Cant build linaro toolchain : exact commands Hi Papadopoulos, your question have two interpretation mistakes.
What you download from http://releases.linaro.org/14.05/components/toolchain/binaries/gcc-linaro-ar... are the compiled and ready to use binaries of linaro toolchain for 32 bits hosts. You only need untar the downloaded file and put it in your favorite location.
If you want build the linaro toolchain you need download the source code from http://releases.linaro.org/14.05/components/toolchain/binaries/gcc-linaro-ar... and the crosstool-ng-linaro from http://releases.linaro.org/14.05/components/toolchain/binaries/crosstool-ng-....
Then follow the steps:
$ tar -jxvf crosstool-ng-linaro-1.13.1-4.8-2014.03.tar.bz2
$ cd crosstool-ng-linaro-1.13.1-4.8-2014.03
$ ./configure // for more configure options type ./configure --help
$ make
$ sudo make install // by default the install location is /usr/local/bin for binary files, /usr/local/lib for library files and /usr/local/share for manuals.
$ mkdir linaro-gcc-build
$ cd linaro-gcc-build
$ ct-ng list-samples // list all samples of crosstool configuration, you can use one of them corresponding to downloaded source code
$ ct-ng linaro-arm-linux-gnueabihf //create configuration for toolchain compilation
$ ct-ng menuconfig // shows all configurations in a menu, you are allowed to explore and make changes. // if you download the toolchain source code, proceed to untar him and change in menuconfig option "Paths and misc options" / "Local tarballs directory" and // specify the location of the untar source code directory $ ct-ng build // build the toolchain
If the compilation procedure ends successfully, you can navigate to "install" directory in the current workspace and check the toolchain recently created. Best regards!
Alexis Fajardo Moya.
El 26/06/14 10:57, -- -- escribió:
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-ar... 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-... 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
_______________________________________________ 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