Questions tagged [gnu-toolchain]

The GNU toolchain is a broad collection of programming tools produced by the GNU Project. These tools form a toolchain (a suite of tools used in a serial manner) used for developing software applications and operating systems. The GNU toolchain plays a vital role in development of Linux, some BSD systems, and software for embedded systems.

Consider adding specific tool tags.

Cross platform portability

  • - general tag for auto-tool suite.
  • - tool for generating a configure script.
  • - makefiles generation tool.
  • - library portability tool.
  • - for use of the output of autoconf; a configure script.
  • - language used by many autotools.
  • - database of install library options.
  • - the gnu building program.

Code generation

  • - the 'C' compiler.
  • - an assembler.
  • - a yacc tool; parser generator.
  • - the gnu scanner; text to tokens.
  • - the gnu C++ compiler.
  • - a collection of support tools for building. Also:
  • - a newer gnu linker
149 questions
0
votes
3 answers

Is it possible to change default sections for a whole file with GNU Arm embedded?

With GNU Arm embedded toolchain, is it possible to change the default sections for symbols for a whole file? I've previously worked with Rowley Crossworks, which has a parameter you can set for any source file or folder to change various default…
hlnd
  • 286
  • 2
  • 9
0
votes
0 answers

Unable to generate executable file using compiler

I am trying to compile my source code using riscv64-unknown-elf-g++ compiler into a binary file but I am getting this warning and unable to generate exec file: warning for library: libofdm.a the table of contents is empty (no object file members in…
Yulia
  • 31
  • 8
0
votes
1 answer

Error in setting the path variable in Linux

I would like to set a path to the Gnu toolchain downloaded from https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads. I used the…
Paul
  • 331
  • 2
  • 7
0
votes
1 answer

How to use GNU mtools to extract all files from a given disk image?

I understand that GNU mtools can be used to extact files from a DOS disk image. The example provided on the website shows how to extract a discrete number of files or directories from a disk image. mcopy -i my-image-file.bin ::file1 ::file2…
ggg123
  • 99
  • 10
0
votes
0 answers

Using gnu toolchain compiled library in Keil

I'm trying to use a library I compiled under debian by GNU toolchain in Keil and getting this error: ._build\nrf52832_xxaa_s132.axf: Error: L6218E: Undefined symbol _impure_ptr this symbol comes from newlib, How can I compile a library with…
msg
  • 136
  • 3
0
votes
1 answer

Error building Glib due to undefined reference in libffi

I am currently working on building Glib version 2.45.8 on CentOS 7 running on x86-64 targeting a custom distro based off Linux from Scratch running on x86-64. There is a problem linking with libffi which is version…
TheArcticWalrus
  • 138
  • 3
  • 11
0
votes
1 answer

Eclipse: GNU toolchain - C files compiled with g++, duplicate GNU C

I've added a GNU toolchain in (modified) Eclipse and I'm having the issue of *.c files being compiled with g++ instead of gcc. I've tried: Tweaking the C/C++ General -> File Types project properties page. This establishes the connection…
Zuzu Corneliu
  • 1,594
  • 2
  • 15
  • 27
0
votes
1 answer

Why are SIGTRAP and SIGILL thrown when adding and removing breakpoints in CodeBlocks with GDB?

I am using CodeBlocks 17.12 bundled with MingGW: GDB 7.11.1, mingw32-gcc 5.1.0, and mingw32-g++ 5.1.0. When setting a breakpoint while the program is running I get a SIGTRAP signal. I am able to continue past the breakpoint and hit it multiple…
0
votes
3 answers

Eclipse: Cant finish creating new C Project

Hello dear Eclipse developer, I am already pretty desperate about figuring out the following problem, and maybe you can be part of the solution. So heres the Context: I want to develop an application for a Nucleo STM32F401RE Microprocessor…
Richard Wieditz
  • 406
  • 1
  • 4
  • 14
0
votes
1 answer

Failed to load platform plugin in cross compiling of a Qt5.1 application for an ARM based target

I'm working with AM1808 based processing unit that has a Linux port on. I use Qt creator 3.0 with compiler version qt5.1.0 to build an application and install to this ARM processor as an App by cross-compiling it using the arm-2012.03 toolchain.…
Ankit
  • 11
  • 3
0
votes
1 answer

How to add a tool-chain in the output image of openwrt?

When trying to build a external toolchain for the openwrt image developed for raspberry pi. Toolchain directory '/opt/cross/aarch64-unknown-linux-gnu' does not exist. make[3]: *…
Mohammed Harris
  • 326
  • 6
  • 25
0
votes
1 answer

Nandtest utility is damaging data in flash memory

I used nandtest utility to test flash memory. After test, flash memory data was damaged. First flash memory card data was damaged by this command: nandtest /dev/mtd3 Then, I saw C resources of nandtest from git, and I have found, that this call…
user7907861
0
votes
0 answers

How to decide the compiler version while cross compiling linux kernel for arm

My question may sound like stupid but this is one simple problem I am facing for past 2 days. As of writing this question, the latest kernel version is 4.14 but I want to compile any randomly selected older version (v3.2). I have cloned the kernel…
Naveen
  • 7,944
  • 12
  • 78
  • 165
0
votes
1 answer

IDE for existing Makefile's on Linux

What would be the best/quickest way to have a IDE-type setup when I have existing C/C++ source with several Makefiles (library, executable etc.). I need to work with compiler errors in the IDE and preferably navigate the code. In the past I have…
Olav
  • 1,758
  • 4
  • 27
  • 49
0
votes
1 answer

Buildroot toolchain with openssl

I am using Buildroot (2017.02.5) to build a custom cross compilation toolchain. I have two buildroot configurations; one to build the RFS and one purely to build a toolchain. I have things configured this way because I don't want the toolchain to be…