Questions tagged [toolchain]

34 questions
30
votes
1 answer

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 it have something to do with whether the project…
Wiktor
  • 455
  • 2
  • 5
  • 7
5
votes
1 answer

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 object file: No such file or directory It's building…
5
votes
1 answer

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 distributions? I'm specifically interested in…
Shawn J. Goff
  • 45,338
  • 25
  • 134
  • 145
4
votes
0 answers

How to organize all my bash aliases (toolchain) for a midsized developer group?

I've developed a lot of useful scripts and aliases at work over the past few years, and it has slowly evolved into a toolchain used by many people across several organizations. I've done my best to document this, but things are moving so fast that…
Olshansky
  • 141
  • 2
4
votes
0 answers

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-inline". Here's the configure line for…
David Foerster
  • 1,505
  • 1
  • 11
  • 18
4
votes
3 answers

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 attention, when my machine is a Athlon64. I…
Tom Ritter
  • 141
  • 8
4
votes
0 answers

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…
3
votes
0 answers

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 search on the internet, I found it is based on…
0xakhil
  • 151
  • 4
3
votes
1 answer

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: Command not found /bin/sh: 1: arm-none-eabi-gcc: not…
user04445
  • 31
  • 1
  • 1
  • 2
3
votes
2 answers

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 with the mail server, I want to execute…
Ethan Leroy
  • 161
  • 3
3
votes
2 answers

Insert result of command into an executable (one command)

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 > input.txt ./a.out < input.txt
Bart Louwers
  • 135
  • 10
3
votes
1 answer

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:$PATH && export PATH I built binutis, gcc and glibc (in…
Johannes
  • 353
  • 3
  • 13
2
votes
1 answer

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 different platform. However, the guide to compiling the…
WP-
  • 23
  • 1
  • 3
2
votes
0 answers

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 successfully building against gcc-svn would be fine.
BlankVerse
  • 41
  • 1
2
votes
1 answer

Errors when trying to build openssl-1.0.2l

Debian 32-bit host PC, with a pre-built toolchain for ARM target in /opt dir. I tried to cross-compile project from the source code, got a lot of errors when system tried to build openssl package: <.....> Considering target file 'link_app.'. File…
minto
  • 511
  • 2
  • 9
  • 26
1
2 3