Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [toolchain]

The tag has no usage guidance.

0
votes
0answers
13 views

Configure Telnet options in Busybox

Embedded Linux version 2.6.26.5 (gcc version 4.1.2), and Busybox v1.10.2 I want to build firmware from source use toolchain, the default config file for Busybox contains common options for telnet: ...
1
vote
0answers
988 views

more /proc/mounts or ls /mnt/ or df hangs

Hi I have done some toolchain upgrade, when I am trying to bootup the device it is not able to launch Webkit, because when directfb is probing the file systems for shared memory mount, it will look at ...
0
votes
1answer
52 views

Does ARM platform have a universal tool chain / compiler?

Recently I tried to make my own cross-compile toolchain for a arm platform. I noticed with the autoconf script of GCC, I have to pass variables like: --with-cpu=cortex-m4 \ --with-fpu=fpv4-sp-d16 \ --...
0
votes
1answer
2k views

Installing arm-none-eabi-gcc

I am following this guide:https://wiki.archlinux.org/index.php/Orange_Pi I get errors on this command:$ make -j4 ARCH=arm CROSS_COMPILE=arm-none-eabi- Here is the errors: make: arm-none-eabi-gcc: ...
1
vote
0answers
512 views

Host CFLAGS for cross-build of GCC

I want to build Rockbox from source for MIPS targets. According their the wiki I need a tool chain with binutils v2.17 and GCC v4.1.2 for the mipsel-elf target with CFLAGS="-U_FORTIFY_SOURCE -fgnu89-...
1
vote
1answer
88 views

Generate location agnostic cross toolchain

I've built a cross-compiler for an ARM Cortex-A8 using crosstool-ng, but I'm running into some problems when trying to compile even the simplest of programs. Trying to compile test.h: $ arm-linux-...
0
votes
1answer
1k views

Why is `sudo make install` failing with “unrecognized relocation”?

This is a question/answer post, intended for people encountering the same issue. This problem only happens when using a separate toolchain (gcc, binutils, libtool) which is not in the standard path. ...
0
votes
1answer
986 views

GCC 5.1.0 fails to compile following the LFS guide — pass 2; linking errors?

I'm trying to follow the LFS guide for compiling the GCC 5.1 with binutils 5.25 and glibc 2.21 and the process fails when reaching the "gcc pass 2" step giving me the error: ld: /tools/lib/../lib64/...
0
votes
1answer
134 views

Possible problems deleting /tools in LFS

I recently made a Linux From Scratch and now I want to delete the /tools directory. But before rushing through it, I ran ldd /bin/* | grep '/tools' Which gave me this liblzma.so.5 => /tools/lib/...
2
votes
2answers
221 views

how to open multiple windows in a predefined arrangement with a single command

I want to write a single bash script/configuration/whatever to open up multiple windows with a predefined arrangement by executing a single command. For example, when I get notified about problems ...
0
votes
1answer
1k views

GCC: library linked several times can cause “multiple definition” errors?

I have a toolchain generated through Buildroot with which I am trying to compile something statically but the build fails with gcc saying something about "multiple definition". Now looking at the ...
1
vote
1answer
4k views

How to redirect linker share library default path /lib64/libc.so.6, /lib64/libc.so.6: version `GLIBC_2.14' not found

My linux machine is x86_64-redhat-linux. However I am using another arm tool chain aarch64-linux-gnu-gcc on this machine to build(I don't need to run what I build on this machine, just build, so it ...
2
votes
2answers
278 views

Insert result of command into an executable (one command) [duplicate]

Is it possible to insert the result of a command (or even a chain of commands) into an executable in one command? Something like this: ./a.out < echo 0 Or is it necessary to do this: echo 0 > ...
0
votes
1answer
36 views

2.6.35 armel header files?

Debian does not seem to include a package linux headers 2.6.35-9 for the armel chipset - compiling drivers work, but insmod, and insmod -f is failing with a version mismatch and invalid moduel format. ...
3
votes
0answers
1k views

Has anyone got the Android NDK toolchains to run on ARM instead of x86 or x86_64?

I have been going over the "dev scripts" in the $NDK/build/tools directory of the Android NDK and have been modifying them to build host/build tool-chains that run on ARM instead of x86 or x86_64. For ...
1
vote
1answer
1k views

Install “ia32-libs” package on Windows to use in Linux

I have recently installed a GCC ARM Embedded toolchain for Linux (to run on a 64-bit machine). However, the pre-built version of Linaro GCC runs on 32 bit machines. The solution is simple: apt-get ...
2
votes
1answer
5k views

How to compile gcc toolchain with special sysroot correctly?

I try to compile a new gcc, including binutils and glibc. Since I can not be root, I want to install it all in ~/local. I set these variables: PREFIX=~/local && export PREFIX PATH=~/local/bin:...
4
votes
1answer
6k views

Linaro toolchain libstdc++.so.6 missing

I'm trying to run the arm linux gcc (linaro 2013 toolchain) and am getting the following error: arm-linux-gnueabihf-gcc: error while loading shared libraries: libstdc++.so.6: cannot open shared ...
1
vote
1answer
3k views

Why does building an Android kernel need a toolchain, but compiling the entire source does not?

As seen here, compiling the Android kernel requires a prebuilt GCC toolchain (or the equivalent from the Android NDK). Cross-compilation makes sense; we are compiling code for a device with a ...
2
votes
0answers
58 views

GNU toolchains against GCC SVN?

Is there anything like CodeSourcery which provides prebuilt binaries for arm toolchains built against gcc-svn. http://elinux.org/Toolchains#Prebuilt_toolchains Otherwise, a working instruction for ...
24
votes
1answer
44k views

Difference between Cross GCC and Linux GCC toolchain

While creating new C++ Project in Eclipse, I am being asked about toolchain. What is the practical difference between these toolchains - Cross GCC and Linux GCC. In what circumstances use them? Does ...
3
votes
0answers
1k views

Compile parameters for MIPS based codesourcery toolchain?

I installed codesourcery cross compile toolchain for mips32 architecture on my WIN 7 machince. I want to first compile a simple 'factorial' binary for my router which is based on MIPS32. From little ...
5
votes
1answer
828 views

What distribution-maintained cross-compile toolchain packages exist?

I have just learned of Gentoo's sys-devel/crossdev package. This is a package that is useful for creating a cross-compiling toolchain. Are there any other such packages out there on other ...
4
votes
3answers
1k views

Changing my toolchain architecture (in gentoo)

This is somewhat gentoo-specific, so I'll explain it in that context, then try to abstract it to a generic linux machine. I accidently set my CHOST to "i686-pc-linux-gnu" in the beginning, not paying ...