Questions tagged [toolchain]
A toolchain is a collection of software tools that work together to build and manage programs.
toolchain
626
questions
56
votes
2
answers
11k
views
App archived with Xcode 11.2 (11B52) rejected: ITMS-90534: Invalid Toolchain
I have installed both Catalina and Xcode 11 from store and they are up to date:
Catalina: 10.15.1 (19B88)
Xcode: 11.2 (11B52)
Yesterday I have uploaded a new binary using fastlane. Today I got this ...
55
votes
16
answers
32k
views
Catalina C++: Using <cmath> headers yield error: no member named 'signbit' in the global namespace
After upgrading to Catalina from Mojave, Setuping: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk in the env.
I'm unable to compile a program that ...
43
votes
3
answers
14k
views
Determine minimum OSX version a binary was compiled for
When using Clang's or GCC's Darwin backends to create executables for OSX, the flag -mmacosx-version-min=version can be used to set the earliest version of OSX the executable will run on.
Is there ...
39
votes
1
answer
27k
views
What is a toolchain and a cross compiler? [closed]
I have had confusion over this terminology for a long time. I have tried to google this question and have been getting some contradictory answers.
One site says cross compiler is the same as a tool ...
31
votes
5
answers
33k
views
Difference between load-time dynamic linking and run-time dynamic linking
When loading programs into memory, what is the difference between load-time dynamic linking and run-time dynamic linking?
31
votes
6
answers
20k
views
Open-source field-programmable gate array (FPGA) development tools [closed]
I want to pick up FPGA programming. I've heard all types of horror stories of proprietary tools. Is there any entirely open-source tool chain available?
If not, how should I learn this? My background:...
28
votes
1
answer
35k
views
MSYS2 - Install gcc or toolchain?
I am using Portable MSYS2 + MinGW64.
I mean to get gcc.
Some sources indicate installing gcc, e.g.
$ pacman -Sy mingw-w64-i686-gcc
$ pacman -Sy mingw-w64-x86_64-gcc
http://www.cplusplus.com/forum/...
25
votes
3
answers
22k
views
How to tell Android NDK to use a different toolchain
I've downloaded a custom toolchain (linaro) to build ARM based Android apps. How do I tell the NDK to use it? Can I define or set something in Android.mk and Application.mk that would allow me to do ...
22
votes
1
answer
14k
views
Difference between arm-none-eabi and arm-linux-gnueabi?
What is the difference between arm-none-eabi and arm-linux-gnueabi? I know the difference in how to use them (one for bare metal software, the other one for software meant to be run on linux). But ...
18
votes
2
answers
66k
views
‘strcmp’ was not declared in this scope
I'm working on building the ios toolchain with this tutorial. When I run the command make ENABLE_OPTIMIZED=1 I get this output.
llvm[0]: Reconfiguring with /home/connor/llvm-svn/configure
config....
18
votes
4
answers
33k
views
Building a toolchain with cmake to cross-compile for android
gcc (GCC) 4.8.1
android-ndk-r9
Hello,
My host machine is Fedora 19 and I want to create a tool-chain for compiling programs to run on android, later I want to extend this for iOS.
I get the ...
17
votes
1
answer
23k
views
How to build GDB on Windows
How does one build GDB (the GNU Debugger) from source on Windows? I need to build it in order to make a build with Python support. I cannot use the one distributed with Cygwin because it has ...
16
votes
5
answers
34k
views
Eclipse CDT does not find either Cygwin or MinGW toolchain
I am having hard times to configure Eclipse Juno to for C/C++. I am a Windows user, so I have installed Cygwin and MinGW, and CDT under Eclipse. Also configured the PATH variable correctly, though I ...
15
votes
2
answers
6k
views
How to switch toolchains in CLion 2018.2?
I started trying to use of CLion 2018.2 today and the first problem with I stuck is how to switch toolchains in CLion.
I want to switch the toolchain from MinGW to Visual Studio and I can switch it ...
15
votes
2
answers
16k
views
Yocto SDK with cmake toolchain file
I provide a Yocto SDK to cross-build an application for an embedded target. The application itself is built using CMake. The SDK setup script provides many necessary environment variables (like ...
15
votes
2
answers
44k
views
How to cross-compile for MIPS?
I have a DVB receiver (set-top box) similar like Dreambox and it has MIPS cpu
It has embedded Linux and I can connect to it with telnet
Question is how to compile simple "Hello World" application in ...
15
votes
2
answers
14k
views
What is the standalone toolchain?
I am trying to understand what a standalone toolchain means.
Following are my findings.
A toolchain which is ready to use with all the configuration that is the system headers and libraries in the ...
13
votes
8
answers
6k
views
Export static HTML+CSS+JS from Rails
When creating static apps I often start a new Rails app. This makes quite some things easier, like compilation (Coffeescript, SCSS), minimization (JS, CSS) and browser limitations (the page is being ...
13
votes
2
answers
6k
views
Complete and isolated LLVM/musl toolchain
What I'm trying to achieve is to compile an GNU independent and isolated LLVM toolchain using musl as clib.
Recently LLVM 4.0 has been released with lot's of new cool features, including production ...
12
votes
3
answers
12k
views
getting c++11 - compliant compiler
This all seems like a colossal mess.
All I want is a compiler that implements C++11, so I can use <chrono>. But I'm so confused from the very beginning.
Currently, I build programs by invoking ...
12
votes
1
answer
7k
views
What exactly is a Rust "toolchain"?
I've seen rustup be referred to as a "toolchain installer", but it's hard to find an exact definition of what Rust considers a "toolchain" to be and what the scope is for the concept.
I already have ...
11
votes
2
answers
10k
views
Where are the x64 and ARM Developer Prompts for VS2017?
I installed the Visual Studio 2017 Build Tools. After installation, there's only an x86 Developer Command Prompt when navigating Start → Programs → Visual Studio 2017 → Visual Studio Tools. There are ...
10
votes
2
answers
12k
views
Setting up COBOL Compiler under Mac OS?
In my university, we're being taught COBOL, and I'm trying to get a head start and learn COBOL, C++, and Java before I get into the classes next year.
Problem is; COBOL is so old, it's hard to grab ...
10
votes
3
answers
6k
views
What are the differences between C++ Toolchains and Compilers?
I know there are many compilers like gcc, clang, ninja but I keep hearing about "Toolchains" and so on but I don't understand what they are, like "gnu-toolchain' etc
10
votes
1
answer
3k
views
arm-linux-gnueabi toolchain vs arm-linux-androideabi toolchain.
Can I compile files (e.g. C or C++ source code) using for my android device using the arm-linux-gnueabi-* toolchain?
My question might seem a bit silly, but will I get the same result as compiling ...
10
votes
5
answers
6k
views
CMake doesn't find Boost libraries while using android-cmake toolchain file
I am trying to make a CMake project for code that uses Boost libraries. I want to build it for Android, and I am using this project as a reference: https://code.google.com/p/android-cmake/.
I want to ...
10
votes
2
answers
15k
views
Cross-platform build under Windows targeting Linux using CMake
I am developing a software in C++ on windows 32-bit (using MSVC++), but since I want to be able to use my software on every platform, I have decided to use CMake as my build generator.
Therefore, I ...
10
votes
5
answers
1k
views
Strict ISO C Conformance Test
I am currently working on a C project that needs to be fairly portable among different building environments. The project targets POSIX-compliant systems on a hosted C environment.
One way to achieve ...
9
votes
8
answers
2k
views
C++, the "Old Fashioned" way
I have been learning C++ in school to create small command-line programs.
However, I have only built my projects with IDEs, including VS08 and QtCreator.
I understand the process behind building a ...
9
votes
2
answers
14k
views
What's the use of LLVM in Android NDK Toolchains?
What's the use of LLVM in Android NDK Toolchains?
A little recap:
I was building my native project with Gradlew on Ubuntu, targeting arm and x86_64 architectures. Seems that LLVM were utilized to ...
9
votes
3
answers
10k
views
How to rebuild newlib and newlib-nano of GNU Arm Embedded Toolchain
I downloaded the toolchain “gcc-arm-none-eabi-6-2017-q2-update-win32-sha1.exe” (Windows) from https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads and installed it on my Windows 10 PC. ...
9
votes
1
answer
14k
views
android NDK - make standalone toolchain fails
I tried to make a standalone Android NDK toolchain on Linux 64 bit:
~/build/android-ndk-r9/build/tools $ ./make-standalone-toolchain.sh --platform=android-14 --ndk-dir=/home/user/build/android-ndk-...
9
votes
3
answers
18k
views
checking for suffix of object files... configure: error: cannot compute suffix of object files: cannot compile
While building ARM toolchain , I got the following error
checking for suffix of object files... configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more ...
9
votes
2
answers
30k
views
How to install the aarch64 toolchain for armv8 cortex-a53 on Debian?
I'm wanting to start low level programming on ARM chips. I've installed qemu and followed a few example programs for hello world type stuff, but now I want to target the latest Raspberry Pi, which has ...
9
votes
9
answers
43k
views
Eclipse can't find my MinGW toolchain for C/C++
I have a problem. Many have the same question but I didn't find the answer.
I installed gcc-4.9.0 on my PC but Eclipse won't find it.
I used the default installation path:
C:\MinGW
9
votes
2
answers
9k
views
gcc options for a freescale iMX6q ARM processor
I am trying to figure out gcc options for a toolchain I am setting up, for development board:
Sabre-lite which is based around the Freescale's iMX6q quad processor.
Now I know that iMX6 is basically ...
8
votes
3
answers
2k
views
Is installing things globally from npm a bad practice?
I'm new to npm here, so maybe I don't get something. I understand that npm can install modules in an npm_modules directory that is local to the project, or by using --global you can install it in a ...
8
votes
1
answer
13k
views
What is a GCC toolchain?
In which ways it can be an example of C/assembly/object/executable compiler?
I would like more pieces of information than the few ones Wikipedia gives about it.
Also, if you can link some sources ...
8
votes
1
answer
511
views
What is the state of C99 support in major compilers / toolchains?
A response to a comment I made here made me stop and think: "I don't really know what the state of C99 support is."
Wikipedia gives details for a few compilers, but I'm not familiar enough with C99 ...
8
votes
1
answer
2k
views
Building SDL2 with NDK toolchain
I wonder if anyone did managed to build the fresh SDL2 with the toolchain of the Android NDK(r8d).
SDL2 seems to be very close to the release (since yesterday it isn't "UNDER CONSTROCTION anymore: ...
8
votes
1
answer
644
views
Why does (host) GCC need to be built against the target's standard library?
I've been looking into building cross-toolchains and have a general question about the compilation and workings of gcc.
The question is about this excerpt from the official gcc documentation:
In ...
7
votes
3
answers
5k
views
Ubuntu WSL is listed in Clion toolchains but says "not found"
Unlike this question or this one, CLion seems to detect the WSL correctly:
You can see that Ubuntu-20.04 is listed but still not found :
Versions :
Windows 10 : 1803
WSL : 1 (since windows 1803 ...
7
votes
1
answer
5k
views
What configure options were used when building binutils?
I have a version of binutils that was compiled by someone. I need recompile a new binutils with same options.
I know that gcc -v prints out the configuration options. So maybe there is any way to ...
7
votes
1
answer
2k
views
How to make a Cross-toolchain to compile from Win7+Eclipse+MinGW+wxWidgets to Beaglebone Black with Debian?
I've got some experience in programming for Windows environment but I need to develop a "Kiosk" (I've heard that this is the right name) on a BeagleBone Black. I'm totally new to Linux and also new to ...
7
votes
1
answer
2k
views
What exactly is a toolchain?
I searched it on google and got the below result.
a toolchain is a set of programming tools that are used to perform a complex >software development task or to create a software product, which is ...
7
votes
1
answer
1k
views
How to setup a mixed C / Z80-assembler toolchain in Visual Studio Code
I want to use Visual Studio Code for writing code for my homebrew Z80 Computer.
I use z88dk and its tools to compile C, assemble the Z80 asm files etc. I will write parts in assembler and other parts ...
7
votes
2
answers
3k
views
Linux kernel on ARM Cortex-M: how to build proper executables
I need to build a complete linux development framework for a Cortex-M MCU, specifically a STM32F7 Cortex-M7. First I've to explain some background info so please bear with me.
I've downloaded and ...
6
votes
2
answers
25k
views
Advice regarding installing ARM toolchain on Ubuntu VM (64bit)
Trying to compile Linux kernel for arm platform on a Ubuntu virtual machine
$make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-
It fails as follows
arm-none-linux-gnueabi-gcc: not found
Tried ...
6
votes
4
answers
7k
views
Advice needed for ARM Cortex M3 beginner
I will embark on the ARM Cortex M3 bandwagon soon with an official training (CPU side).
Now, I did a bit of Arduino and AVR before and have some basics in electronics but I am mostly a software ...
6
votes
1
answer
7k
views
What are the correct options for an ARM cross compiler with crosstool-NG
I am trying to build a cross compiler to target the processor running on my NAS box using crosstool-NG.
The NAS box is a ZyXEL NSA210, there is an example dmesg output, the /proc/cpuinfo is:
...