Questions tagged [linux-toolchain]

50 questions
2
votes
1 answer

How to generate kernel headers of a toolchain for ARM Integrator Target Machine

I'm trying to build a toolchain from scratch for ARM Integrator target machine. I started by building binutils and it is OK. Now I have to generate kernel headers and I don't know how to do this in the right way. Any help will be useful.
Walidix
  • 1,247
  • 5
  • 17
  • 27
1
vote
1 answer

BeagleBoard Narcissus ToolChain with OpenCv issue

I'm using Eclipse with Narcissus Cross-Compiler Toolchain to compile OpenCV project on my BeagleBoard-XM. I followed those links to do…
Shade
  • 21
  • 4
1
vote
1 answer

error while running a GUI application in mini2440 board

i am trying to run a GUI application inside mini2440(FriendlyARM board that runs Qtopia). I followed instructions from http://mini2440vietnam.blogspot.com/2011/05/programming-application-for-mini2440-by.html & the following from "tslib & Qt…
Preetam
  • 5,528
  • 10
  • 32
  • 39
1
vote
0 answers

execvp: /bin/sh: Argument list too long while building glibc 2.5 with crosstool-ng

I am trying to upgrade our build server from opensuse 9 to ubuntu 14.04. Our target operative system is uClinux with kernel 2.6.24 and glibc 2.5 and gcc 4.2.1. We are using crosstool-ng for building our cross toolchain. Building toolchain is…
Govan
  • 2,079
  • 4
  • 31
  • 53
1
vote
1 answer

KERNELCONFIG while building toolchain using crosstool-ng

I am trying to update our cross compiler toolchain from crosstool to crosstool-ng. We are using an old kernel and build machine. I could install and configure crosstool-ng-1.0.0 on the server and build the toolchain. One difference that I have…
Govan
  • 2,079
  • 4
  • 31
  • 53
1
vote
1 answer

Bazel 0.5.2 custom toolchain, incorrectly invoking archive program (gcc "ar") when building tensorflow?

Trying to use a custom toolchain to build a target that depends on tensorflow, my CROSSTOOL and toolchain BUILD files seem fine. However when building a target (that depends on tensorflow) bazel errors in the following: >>>>>>…
ark
  • 43
  • 3
1
vote
1 answer

How to recompile Ubuntu Toolchain?

Where I can find environment description and build options that were used on build servers for Ubuntu Toolchain (https://launchpad.net/~ubuntu-toolchain-r) 4.1/4.7/4.9/etc? How I can reproduce this flows? Please suggest how to build same build…
Valeriy Solovyov
  • 5,384
  • 3
  • 27
  • 45
1
vote
1 answer

Binary not working on startup when placed in rc.local on RHEL6. The same binary is getting executed when ran manually

We have a RHEL6 server where IPtables, NetworkManager and sestatus are disabled. On that same server we have created a binary using C++ code. That Binary when ran manually as root runs fine but when we try to run it on startup via rc.local and…
AjayAware
  • 11
  • 1
1
vote
1 answer

Deploying libraries for a cross toolchain

I'm building a cross toolchain for an i686 linux robotics system. I am building the toolchain using my x86_64 Ubuntu 14.04 system. After building the toolchain for the target i686-linux-gnu, I end up with a directory in my build directory with the…
Jake
  • 7,565
  • 6
  • 55
  • 68
0
votes
0 answers

wpa_supplicant cross compile for mips

I try to cross compile wpa_supplicant tool for a mips architecture, it uses interpreter ld-uClibc.so.0 (uClibc). I type make command in wpa_supplicant-2.6/wpa_supplicant/, then it reported with error: ../src/utils/common.o: In function…
0
votes
1 answer

How do I build a newlib RISC-V toolchain with a modified linker script?

I'm trying to build a GCC/newlib cross compilation toolchain targeting an embedded OS on RISC-V. For this purpose, I need to modify the virtual addresses that binaries are linked at. One way to achieve this is to modify the default linker script…
Julian Stecklina
  • 1,271
  • 1
  • 10
  • 24
0
votes
0 answers

seg fault when calling libc init

I am trying to run an application on an embedded target by using custom (newer version) dynamic linker/loader and libraries instead of default installed ones. But when i try to run a simple hello world application, I get seg fault root@target:~#…
abs
  • 384
  • 2
  • 4
  • 14
0
votes
2 answers

Buildroot - menuconfig creates config, but won't make

I'm trying to use buildroot to create a cross-compiler toolchain for MIPS64 (little endian). I have run make menuconfig and have set the target to MIPS64 (little endian). Also I am being told that the config file has been generated and I can run…
0
votes
1 answer

If the same code is built at different folders using arm-poky-linux-gnueabi-gcc, the resulting binary will have different contents

I have a source code and I am trying to cross compile for armv7 architecture it is getting compiled and generating binary file. When I compile the same code in a different directory then generated binaries are different from the previous one. Why…
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