Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [toolchain]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
10 views

How to validate self-build GNU toolchain and newlib?

I am working on an embedded system, where there is ARM SOC and RTOS. I have built GNU toolchain with newlib for this embedded system, and did very basic testing. Now before I can be sure to use the ...
wangt13's user avatar
  • 431
0 votes
1 answer
32 views

Failed to build GNU toolchain and newlib 4.4 for ARM from scratch in X86 Linux

I am working on an embedded RTOS on ARM, now I am going to build the GNU toolchain for the ARM in my X86 Linux host (ubuntu-20.04), so I did followings by referring to https://gnutoolchains.com/...
wangt13's user avatar
  • 431
0 votes
1 answer
81 views

Upgrading gcc (+jit) outside of any package manager help : What else to rebuild?

Currently using now-unsupported ggc 9 on a Linux-5.4, I need to upgrade to at least gcc 10. A/ For whatever let's say historical reason, this upgrade must be carried on without relying on whatever ...
MC68020's user avatar
  • 8,211
1 vote
1 answer
130 views

Why this script stuck at "can't execute" branch?

I'm using this tool-chian provided by a manufacture of control boards. I followed the instruction step by step but when I tried to compile example code, the compilation process got stuck at "$...
cream_pi's user avatar
0 votes
1 answer
174 views

What does "Compatibility libraries (toolchain)" mean in CentOS Wiki

I'm reading this page, there's a line about Compatibility libraries (toolchain): Does it mean programs compiled on CentOS 6 will be able to run on CentOS 5? In my experience it usually won't work due ...
daisy's user avatar
  • 54.7k
1 vote
1 answer
4k views

Building a gcc cross compiler on linux, how do I know which "--target"s are supported and the exact keyword for specifying them?

I'm trying to build gcc compiler to producing executables that are supposed to run on x86-64 machines. I'm actually using existing 64bit gcc compiler on my computer. It is redundant but I'm doing it ...
User's user avatar
  • 254
0 votes
1 answer
132 views

How can I know whether a bunch of header file are part of a "standard" C++ toolchain on Debian

I have a build that fails, it complains about the lack of the following header files: /usr/include/Availability.h /usr/include/AvailabilityInternal.h /usr/include/_types.h I know for sure that my ...
Alessandro Jacopson's user avatar
0 votes
1 answer
1k views

How to compile busybox for cortex-m7 (-march=armv7-m)?

I'm trying to run busybox on my waveshare stm32 development board but my SOC has "armv7-m" architecture not "armv7-a". so I've put the march flag in the menuconfig of busybox (-...
Mahyar Shokraeian's user avatar
0 votes
1 answer
834 views

Error in installing the Qemu package

I would like to install Qemu in my Virtual machine Debian 9, but I unable to do it. It would be helpful if someone can solve this issue. The vdi file for Debian 9 is provided by my company. root@...
Paulson Raja L's user avatar
1 vote
1 answer
4k views

GCC cross-compiler can't find header file

A host PC with a pre-built cross toolchain for ARM target. I try to build a project from source, the build process stopped due to an error, when code tried to build pppd-2.4.1 module, here is ...
minto's user avatar
  • 525
2 votes
1 answer
947 views

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: &...
minto's user avatar
  • 525
4 votes
0 answers
240 views

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 ...
Olshansky's user avatar
  • 141
0 votes
0 answers
79 views

What cause path error occurs during code compiling

Debian 32-bit host PC, with a pre-built toolchain in /opt dir, the target is ARM. I'm trying to build project (f/w image) from source code,there is error during code compilation. The project have ...
minto's user avatar
  • 525
1 vote
0 answers
3k 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 ...
Chauhan's user avatar
  • 11
0 votes
1 answer
99 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 \ --...
J.R.'s user avatar
  • 187
3 votes
1 answer
35k 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: ...
user04445's user avatar
4 votes
0 answers
1k 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-...
David Foerster's user avatar
1 vote
1 answer
170 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-...
Guilherme Costa's user avatar
1 vote
1 answer
2k 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. ...
ederag's user avatar
  • 350
0 votes
1 answer
2k 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/...
emmerich's user avatar
  • 175
0 votes
1 answer
200 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/...
Aniket Bhattacharyea's user avatar
3 votes
2 answers
734 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 ...
Ethan Leroy's user avatar
1 vote
1 answer
3k 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 ...
phk's user avatar
  • 5,973
1 vote
1 answer
6k 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 ...
hellocoding's user avatar
3 votes
2 answers
2k 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 > ...
Bart Louwers's user avatar
0 votes
1 answer
56 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. ...
Sean's user avatar
  • 171
4 votes
0 answers
2k 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 ...
Overloaded_Operator's user avatar
1 vote
1 answer
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 ...
Mahmoud's user avatar
  • 125
3 votes
1 answer
7k 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:...
Johannes's user avatar
  • 373
5 votes
1 answer
7k 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 ...
Christian Stewart's user avatar
2 votes
1 answer
4k 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 ...
WP-'s user avatar
  • 23
2 votes
0 answers
59 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 ...
BlankVerse's user avatar
30 votes
1 answer
55k 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 ...
Wiktor's user avatar
  • 455
3 votes
0 answers
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 ...
0xakhil's user avatar
  • 151
5 votes
1 answer
1k 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 ...
Shawn J. Goff's user avatar
4 votes
3 answers
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 ...
Tom Ritter's user avatar