Questions tagged [linux-toolchain]

50 questions
33
votes
6 answers

Cross compiling a kernel module

I'm trying to cross compile a helloworld kernel (2.6.x) module for ARM architecture on my intel x86 host. The codesourcery tool chain for ARM is located at: /home/ravi/workspace/hawk/arm-2009q3 The kernel source is located at…
19
votes
1 answer

What is the difference between ar/nm and gcc-ar/gcc-nm?

ar, nm, and ranlib are provided by the binutils package. gcc-ar, gcc-nm, and gcc-ranlib are provided by the GCC package. I read somewhere that the gcc-ar, gcc-nm, and gcc-ranlib are "effectively wrappers" around the ar, nm, and ranlib binaries…
Cherry Vanc
  • 781
  • 1
  • 4
  • 19
14
votes
1 answer

FFMPEG for Android toolchains: arm-linux-armeabi-eabi-pkg-config - is there any toolchain in existence containing the pkg-config tool

Does anybody know any toolchain for ffmpeg linux arm platform which contains the arm-linux-androideabi-pkg-config tool? The Android NDK does not contain it. Also has anybody succeeded in building ffmpeg for android that contains the alsa device?…
9
votes
2 answers

Find/Replace htmlentities using the standard linux toolchain?

Is there a way I can do something like the following using the standard linux toolchain? Let's say the source at example.com/index.php is: Hello, & world! " How can I do something like this... curl -s http://example.com/index.php |…
Cam
  • 14,930
  • 16
  • 77
  • 128
6
votes
1 answer

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 typically >another computer program or a set of…
Sandesh Ghanta
  • 385
  • 2
  • 4
  • 16
6
votes
1 answer

Why getting wrong results when performing pointer arithmetic in C on dynamically linked symbols?

I encountered a weird situation where performing pointer arithmetic involving dynamically linked symbols leads to incorrect results. I'm unsure if there are simply missing some linker parameters or if it's a linker bug. Can someone explain what's…
5
votes
1 answer

Building GCC without mpc, mpfr and gmp

I need to use lesser version of packages for building my toolchain. Is there anyway to build gcc by disabling the mpc, mpfr and gmp packages?
prasanth
  • 69
  • 5
5
votes
2 answers

Cmake build failed with CMAKE_AR-NOTFOUND (cr exe not found)

cmake build failed with CMAKE_AR-NOTFOUND cr libperfutils.a When i checked build folder ar is not set. x86_64-linux\gtest-native\1.7.0-r5\build\CMakeCache.txt CMAKE_AR:FILEPATH=CMAKE_AR-NOTFOUND //CXX…
Rajesh Gopu
  • 863
  • 9
  • 33
5
votes
3 answers

Finding a uniq -c substitute for big files

I have a large file (50 GB) and I could like to count the number of occurrences of different lines in it. Normally I'd use sort bigfile | uniq -c but the file is large enough that sorting takes a prohibitive amount of time and memory. I could…
Charles
  • 11,269
  • 13
  • 67
  • 105
5
votes
2 answers

QtCreator on Windows to Cross Compile for Linux ARM with CodeSourcery Toolchain

I have Qt Creator installed on my Windows 7 machine and my target is an OMAP3 Embedded Linux board. I downloaded the target toolchain, Sourcery-G++ Lite for Windows, and also installed MinGW ( http://www.mingw.org/ ) on my Windows Machine. In QT…
PhilBot
  • 748
  • 18
  • 85
  • 173
3
votes
3 answers

Autofoo test for maximum version of Python

I'm trying to get autofoo to test for a maximum version of Python rather than a minimum. Example: AC_REQUIRE([AM_PATH_PYTHON([2.7])]) ... will test for Python >= 2.7, and will probably turn up with /usr/bin/python3. I want it to return nothing…
bhilburn
  • 579
  • 7
  • 18
3
votes
1 answer

GNU Triplet, GCC and Linux kernel compiling

My native gcc says, that its triplet is the following. > gcc -dumpmachine x86_64-suse-linux Where cpu-vendor-os are correspondingly x86_64, suse, linux. The latter means that glibs is in use(?). When I am doing cross-compiling busybux-based system…
0x2207
  • 878
  • 1
  • 6
  • 20
2
votes
0 answers

Building 64-bit MIPS Big endian cross-compiler toolchain

I am trying to build a 64-bit MIPS big endian cross-compiler toolchain. I have been using the following guide (substituting aarch64 for mips64): https://preshing.com/20141119/how-to-build-a-gcc-cross-compiler/ I have used the following versions of…
Brian Waters
  • 599
  • 4
  • 9
  • 19
2
votes
1 answer

Linux Toolchain for TI CCXXXX SoC Chips

I am trying to do a project using TI CC2510 wireless SoC chips, but I want to use Linux to load my C code onto the devices. I don't want to buy Windows just for my development purposes. Does anyone know if this can be done? If so, once I compile to…
Doughy
  • 4,115
  • 6
  • 36
  • 39
2
votes
1 answer

Newlib: embedded vs desktop

I'm compiling a Linux toolchain based on Newlib for a toy project. Newlib's official page reports: Newlib is a C library intended for use on embedded systems. but without providing any particular reason. What I'm trying to figure out is: Why…
Stefano Azzalini
  • 1,027
  • 12
  • 21
1
2 3 4