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
1
vote
0 answers

Building and debugging ARMV8 assembler applications on Windows

I'm trying to learn ARMV8 assembler, and am trying to build a test application on Windows. I've installed ARM DS-5 Community Edition, version 5.26.2. After much hair pulling trying to install toolchains, I finally installed the "mingw32" toolchain…
Dave
  • 146
  • 1
  • 10
1
vote
1 answer

aarch64-linux-android-gcc error on Ubuntu 16.04 "poll.h" not found

Hi I am trying to cross compile code for Android arm64 on Ubuntu 16.04 with gcc-4.9 from android-ndk and cannot get rid of this error: aarch64-linux-android-gcc -o test.o -c test.c -Os -fPIE -Wall -DDBG test.c:26:18: fatal error: poll.h: No such…
superhero1
  • 11
  • 1
  • 3
1
vote
1 answer

Gcc, binutils and minimal support version of glibc?

How I can to know what is a minimal version of glibc for gcc or binutils? Regards.
Valeriy Solovyov
  • 5,384
  • 3
  • 27
  • 45
1
vote
0 answers

Adding extenal library to compiler toolchain for ARM

I have downloaded compiler tool chain for ARM Target. My host machine: Linux Target H/w : ARM7 But i need to add some additional library with that tool chain. I need to know how to add new library to existing tool chain? Thanks Hari
1
vote
1 answer

Cross compiling stand alone application?

I am trying to cross compiling a stand alone application for arm board and most important I want to compile it without Android.mk framework. I have following doubt :- 1- Which tool should I use like (arm-eabi or arm-linux-androideabi …
Pradeep Goswami
  • 1,785
  • 1
  • 15
  • 24
1
vote
3 answers

Building Gnuarm toolchain from source

I want to build a toolchain from gnuarm.org from sources. I don't want to use binary version because i'm running x64 linux. Can you point me to some kind of tutorial?
Atilla Filiz
  • 2,383
  • 8
  • 29
  • 47
1
vote
1 answer

Including #foo preprocessor directives at compile time (GNU tools)

I've currently run in such a problem, in fact caused by the package maintainer(s), who simply did not consider that a certain preprocessor definition was not available until version X of a certain toolkit package required in the dependencies (which…
1
vote
1 answer

Toolchain binaries cannot be found

Trying to build recent version of u-boot bootloader for my mini2440 ARM board I managed to download a toolchain package from codesourcery and extract it to following path: /usr/local/arm-2008q3/ I also exported following values for current…
aquila
  • 156
  • 1
  • 2
  • 12
1
vote
1 answer

DMD Generated Executable Segfaults on Ubuntu 12.10 64-bit with Hardened GCC

I'm having problems getting DMD 2.061 to work on my configuration of Ubuntu 12.10. When I first install it using the following script if grep -qE "^deb http://d-apt.googlecode.com/files /" /etc/apt/sources.list; then echo "Already there"; else …
Nordlöw
  • 11,838
  • 10
  • 52
  • 99
1
vote
1 answer

How to find configure option/glags used to create makefile for the gcc I'm using?

I have got the mips-gcc toolchain source code and binaries from some chipset maker. I want to build the source of toolchain but I don't know the configure options/flags that were used to build the source. Is there any way so that I can get these…
nsit_poison
  • 119
  • 12
1
vote
2 answers

Check toolchain configuration at compile time

Is there a good way to check the (gcc) compiler configuration at compile time (either from within a Makefile or from within a C source file). I want to check if the compiler being used has sufficient support for the code being compiled, and if not,…
John
  • 3,400
  • 3
  • 31
  • 47
1
vote
1 answer

does ARM7 in LPC2103 not support CLZ?

I've only been Googling for a couple hours or so, but if someone has a quick answer to this I'd like to get back to programming. Here's my error: jcomeau@intrepid:~/rentacoder/jcomeau/armmite$ make /usr/local/bin/preasm.tcl minimal.asm minimal.s…
jcomeau_ictx
  • 37,688
  • 6
  • 92
  • 107
1
vote
2 answers

Enforce custom rules in code (C/C++)

g++ verifies predetermined set of rules and constraints which if not met in code throws an error or warning messages. Is it possible using some tool to create a parser for custom set of rules such as "global variables need to be explicitly…
Kabira K
  • 1,916
  • 2
  • 22
  • 38
1
vote
1 answer

Mips and mipsel toolchain giving different stack information for same executable

I have a test application which I compiled first using 'mips-linux-gnu-gcc -EL ' to create "exec_sigma" and then using 'mipsel-linux-uclibc-gcc' to create "exec_bcm" . After doing readelf of these executables, I got many differences. I am mainly…
deeps8us
  • 75
  • 1
  • 9
1
vote
0 answers

Build error (make gonk) while compiling B2G

I am working on Boot2Gecko for Nexus S. I started compiling the code yesterday based on the instructions at Boot2Gecko. Everything is fine but it doesn't compile at one stage and I get following error: http://pastebin.com/tPqqwdaF. I think its the…