I have a linux project I want to port to windows. Under Linux I did set up my makefile to run x86_64-w64-mingw32-g++ when I do call make ARCH=win The problem is that some headers I need (tcl.h and friends) are located under ‘/usr/include’ and if I pass that directory with the -I flag I will get a header collision for
Tag: cross-compiling
cross compilation for ARM: error no such file or directory/command not found
I have written simple Hello world program and compiled it with gcc-arm-linux-gnueabi compiler. It compiles well but when i try to execute it on ARM machine it complains “no such file or directory”. I think gcc-arm-linux-gnueabi is for embedded Linux only due to e(mbedded)abi. Is it different from ARM Linux ABI? Please help me to solve this problem code is
FIPS Capable OpenSSL cross-compiled: incore fingerprint issue
I’m having an issue trying to use the OpenSSL shared library (libcrypto) compiled to be FIPS capable on a MIPS device. I cross-compiled the FIPS Object Module and then the OpenSSL library in the following way (summarizing): I did all the needed steps, so I’m able to compile and install the library. The issue appears when I try to run
“Illegal instruction” when running ARM code targeting my CPU
I’m compiling a rather large project for ARM. I’m using an AT91SAM9G25-EK as a devboard running a Debian ARM image. All libraries and executables in the image seem to be compiled for the armv4t instruction set. My CPU is an ARM926EJ-S, which should run armv5tej code. I’m using GCC to cross compile for my board. My CXX flags look like
glibc Cross Compile Configure Error
I would like to cross compile glibc. But, I ‘m getting an error. glibc version is 2.24. I tried compiling host and target i686-elf. My $MACHTYPE environment label is x86_64-pc-linux-gnu. Target directory includes binutils-2.27 and gcc-6.2.0. My PATH environment is: /home/ercan/cross/tools/tools_binaries/i686/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games Console output have been listing to below: It is not configured and config.log that is in build-glibc which content
How to cross-platform compile on windows for linux using gcc?
My aim is to create cross-platform C++ python modules. I’m usingCyther (cross-platform The Cross-Platform Cython/Python Compiler). Cyther uses GCC to compile modules and gives the user the ability to add GCC command-line args. So, I need run compiler on Windows, but compile for Linux. What args I must pass to GCC to compile a module for Linux (or other platform)?
How to build Qt applications for imx6 processors?
The same question was asked in a similar way, but the answer is unsatisfying. That’s why I wanted to ask the following one more time: Starting just with an Ubuntu 14.04 OS, what are the steps that I should follow to cross-compile & deploy my Qt GUI application on an embedded board with imx6 processor? Are there any tools &
How to cross-compile with SDL 2 from Linux for Windows
I tried to compile a simple C++ program that uses SDL 2 with the mingw-w64-g++ compiler on my Arch Linux (64bits). For this I downloaded SDL2-devel-2.0.4-mingw.tar.gz from here prog.cpp: Makefile: Now making gives the error: Why undefined reference to `SDL_main’ ? Although I specified -lSDL2main ? What did I do wrong? 🙁 Answer Okay, it was because of the main
How to use Arduino-Makefile with Sparkfun Pro Micro?
So, I am using Arduino-Makefile (https://github.com/sudar/Arduino-Makefile) and trying to program a 5V 16MHz Sparkfun Pro Micro (https://www.sparkfun.com/products/12640). I am using the versions of the Arduino libraries and Arduino-Makefile in the repository of the Linux distro I am using (Linux Mint 17.2). These versions are 1.0.5 and 1.3.1 respectively. My file structure looks like this: My test.ino is taken directly from
/bin/sh: 1: arm-linux-gcc: not found on ubuntu
I m trying to build using gcc arm cross compiler and i get following error Building file: ../src/application.c Invoking: GCC C Compiler arm-linux-gcc -O3 -Wall -c -I -fmessage-length=0 -MMD -MP -MF”src/application.d” -MT”src/application.d” -o “src/application.o” “../src/application.c” /bin/sh: 1: arm-linux-gcc: not found i also check my path setting and i had proper valid path to the arm-linux-gcc and also linux “which” command