Skip to main content
Filter by
Sorted by
Tagged with
Tooling
0 votes
7 replies
133 views

I am looking for a one liner that could be run in a linux terminal that does the below. Takes as input a tab separated file (tsv) with many columns (~100) and creates a two column tsv output with ...
Jeffin Rockey's user avatar
2 votes
1 answer
121 views

GNU documentation is really poor and is worded in a way that seem to imply that you can only assign version only to symbols that are listed explicitly either under global: or local:, but those are ...
Dan M.'s user avatar
  • 4,074
0 votes
0 answers
45 views

I'm trying to configure the GNU binutils for x86_64 bare-metal ELF targets with additional PE/COFF binary format support. Need the tool-chain for operating system and EFI development for the purpose ...
Johannes Krottmayer's user avatar
0 votes
1 answer
90 views

In the process of my work, I need to build Linux versions of our codebase & release. The toolchain is LLVM/clang. I also have GNU tools installed on my system. I sometimes need to strip symbols ...
Brie's user avatar
  • 2,396
1 vote
1 answer
63 views

Context I have a custom assert defined, which looks something like: [[gnu::noreturn]] [[gnu::visibility("internal")]] void my_assert_handler(const char* condStr, const char* file, int line); ...
Levent's user avatar
  • 193
0 votes
1 answer
109 views

I successfully installed virt-manager through pacman on Parabola GNU/Linux-libre (based on Arch), but there are issues when installing or running a virtual machine. These problems do not occur when ...
Давид Пирић's user avatar
0 votes
0 answers
60 views

While building GCC-15.1.0 on TinyCorePure64 version 16.12.11 in Oracle VirtualBox Version 7.1.10 r169112 (Qt6.5.3) in Windows 11 Home 24H2 - 26100.4351 on AMD Ryzen 5 5625U Acer Aspire Thin & ...
Chi Kun's user avatar
3 votes
0 answers
63 views

Is there a way to have the GNU assembly process a source file that contains macros, expand them, and then output the expanded equivalent code in a form that could be assembled by as? Basically, I'm ...
Bri Bri's user avatar
  • 2,012
0 votes
0 answers
49 views

I am using the GNU radio for demodulation of signals. I faced the problem of changing the block parameters in real time. Let's say the Symbol Sync block, the Samples per Symbol parameter is not ...
Kiran's user avatar
  • 1
0 votes
4 answers
164 views

I'm doing a collections library in C in which I implement several data structures that I want to be able to display directly with printf (for example I have a String struct that I want to be able to ...
Fayeure's user avatar
  • 1,483
0 votes
0 answers
47 views

I have a DIE that looks like this (output from llvm-dwarfdump): DW_AT_Location [DW_FORM_sec_offset] (0x00000e65) [0x000000001c1ef510, 0x00000000mc1ef530] [0x000000001c1ef5d1, 0x00000000mc1ef5d5] ...
user2296145's user avatar
-1 votes
1 answer
151 views

On Linux, does ln --force atomically overwrite the target? In other words, during the time that ln --force runs, is it guaranteed that the file system is always either in the original state or in the ...
Jo Liss's user avatar
  • 33.9k
1 vote
1 answer
168 views

I have a section in my linker script which needs to contain 2 things: A variable length byte-array (used for heap) A global variable called foo. This can be done like this: MEMORY { APPL_STATE (...
Allan's user avatar
  • 4,790
0 votes
1 answer
68 views

For the below makefile: NAME = file1 all: $(NAME) $(NAME): dep1 dep2 touch $(NAME) dep1: DEP := folder1 dep1: check_dep touch dep1 dep2: DEP := folder2 dep2: check_dep touch dep2 ...
Atti's user avatar
  • 91
0 votes
1 answer
80 views

Main issue I am on GNU/Linux outputting C code to a shared library bin/libcore.so and then using the library in the creation of an executable bin/test. The files are successfully created, but bin/test ...
Oh Fiveight's user avatar
6 votes
1 answer
180 views

I am working on a c program to add conditional breakpoints or print some values. But when I use some expressions, the gdb failed with Invalid cast. OS: Ubuntu 24.04.1 LTS GCC: gcc (Ubuntu 13.3.0-...
XuanCheng's user avatar
2 votes
0 answers
73 views

So I have a /tmp/input.txt which have content: 1 1 6 2 3 6 And a job.sh file: #!/usr/bin/env bash set -euo pipefail echo $1 echo $2 echo $3 When I run: cat /tmp/input.txt | parallel --colsep ' ' ./...
Accodius's user avatar
1 vote
1 answer
78 views

I have a command that reads a giant(92GB, 100M+ lines) file in parallel. File grows in time, perhaps, it is a log a file. Command itself: parallel -a "2025-03-18.log" -k --pipepart "...
Azii's user avatar
  • 99
1 vote
0 answers
40 views

I’m using GNU screen to run a service, but when I stop the session, the processes running inside it are not always terminated properly. This results in ports remaining occupied and prevents the ...
JamesStandbridge's user avatar
6 votes
1 answer
228 views

In the c/c++ toolchain available under GreenHills there's a feature which allows the linker to construct a static, in-memory array from initializers in multiple compilation units. This uses specially ...
Speed8ump's user avatar
  • 1,385
0 votes
0 answers
56 views

I tried all sorts of stuff, Ctr+C, various syntax exports and others. I am amazed that there is no way to copy the contents, anyone has suggestions?
Vitaliy Terziev's user avatar
-3 votes
1 answer
120 views

Why does GNU date display the second week instead of third week for 13th of Jan 2025? ❯ LANG=en cal -w January 2025 Su Mo Tu We Th Fr Sa 1 1 2 3 4 2 5 6 7 8 9 10 11 3 12 ...
Artyom's user avatar
  • 3,611
0 votes
1 answer
66 views

I am teaching myself the shell and enjoying it a lot. I came across the hash builtin the other day in a course and did some study on it. This led me to the bash manual, and namely this section on the ...
Orwa Diraneyya's user avatar
0 votes
0 answers
283 views

I am trying to build binutils-2.43. My system is debian linux. I am following section 3.1 of sourceware.org/binutils/binutils-porting-guide.txt it is failing at below command. Please see command and ...
promaxultra's user avatar
0 votes
0 answers
80 views

Body: I am experiencing a strange issue with GNU Make on WSL (Windows Subsystem for Linux). When using = for variable assignment, concatenation doesn't work as expected. However, when I switch to :=, ...
范北海's user avatar
0 votes
1 answer
79 views

I am working on an embedded Linux system (kernel-5.10.24) for a MIPS CPU. Now I want to test GNU builtin functions for MIPS SIMD listed in https://gcc.gnu.org/onlinedocs/gcc/MIPS-SIMD-Architecture-...
wangt13's user avatar
  • 1,307
0 votes
0 answers
51 views

I'm trying to build the riscv32-unknown-elf-gcc toolchain from https://github.com/riscv-collab/riscv-gnu-toolchain in a container, but the build fails and I have no idea why. Here is my ContainerFile: ...
14159's user avatar
  • 185
0 votes
0 answers
25 views

I am using mkid to create a gnu id database. In my source code directory some .c files get generated on compilation. Now I need to ignore the paths of these unwanted generated files, while creating ...
Mithun B's user avatar
  • 282
1 vote
1 answer
159 views

I have the following code snippet : #include <iostream> // Another function that takes a const char array reference template <size_t N> constexpr int anotherFunction(const char (&...
Archisman Pathak's user avatar
1 vote
1 answer
151 views

I am trying to compile GLIBC from source however during that process I get the following error: ../sysdeps/ieee754/flt-32/e_gammaf_r.c: In function ‘__ieee754_gammaf_r’: ../sysdeps/ieee754/flt-32/...
Benjamin Davis's user avatar
0 votes
0 answers
92 views

I am new to assembly code, and would like to try it as a means to add extra functionality C++ and C. I'm still on the Hello World phase of asm use, however, and have been having trouble with the ...
Ashley Ben Story's user avatar
0 votes
1 answer
488 views

I'm using riscv64-unknown-elf-objcopy -O verilog to convert a RISCV elf file. I can see that there is a related option --verilog-data-width which affects the output. For example, with --verilog-data-...
Steven Dickinson's user avatar
1 vote
0 answers
135 views

I’m trying to cross-compile binutils for i386-elf on macOS (Sequoia 15.0.1, arm64) but encounter an error when running make. Here are the steps I followed: Installed required dependencies: brew ...
Viliam Holly's user avatar
0 votes
1 answer
63 views

I have the following data foo-a12a11 foo-a12a2 foo-a12b12 foo-a12b21 foo-a13a10 foo-a13a1 foo-a13a9 IIII122344 # this indicates the order in which I want to consider the fields (I=ignore) I want ...
user9793038's user avatar
2 votes
2 answers
191 views

I want to find the date for the third Sunday of the month for a given month using the gnu date command in bash. I know that one can write this to find the next Sunday from now: date +%Y%m%d -d "...
ClimateUnboxed's user avatar
2 votes
2 answers
148 views

I am trying to create a nice and dynamic help, but I am struggling to interpret the variable name in the project's .env file. I need these names to be interpreted by the .env. I will provide the ...
Gustavo Filgueiras's user avatar
1 vote
0 answers
55 views

When can I use this directive? Are there any other types besides function, tls_objrct, object, and common? Are there examples of using each type from the .type? Can I create my own type and mark it ...
Tayler's user avatar
  • 15
0 votes
0 answers
47 views

There are so many similar questions but nothing I tried seems to apply in this awfully simple case. This is part of a long script but I'll try to summarise, in a nutshell: This command works: ffmpeg -...
kali's user avatar
  • 1,171
1 vote
1 answer
247 views

I am using CMake to compile fortran code with the GFortran compiler. I want to see the assembler files but I haven't done this before. Should I see .s files after running make? I've enabled assembly ...
RedishLibrary's user avatar
0 votes
0 answers
90 views

I am writing power function in GNU Assembly x86 on Linux principal-neanderthal 6.8.0-41-generic x86_x64. When i launch i get "segmetantion fault (core dumped)" error. .code32 .section .data ...
Fischer Benkovscki's user avatar
0 votes
1 answer
117 views

I used GNU BC ( basic calculator ) for exponentiation 999,999 to 999,999 and it answered in 10 minutes but when I want to find 999,999 root of a big file ( 1.1 GB) it shows segfault after 5 hours and ...
HadiLovelorn's user avatar
1 vote
0 answers
24 views

gnu .ld linker script -- I have added a MEMORY definition to hold a checksum: _CRC_Value = 0x12345678; MEMORY { RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 80K FLASH (rx) : ORIGIN = ...
Hunter Ritchie's user avatar
1 vote
2 answers
89 views

The is a snipped from the source CSV file. %status,date,job,project,start,end,description % //,18.03.2021,sib,sib-dede,07:00,15:00,dede-mongo % //,11.06.2021,sib,sib-dede,07:00,15:00,dede-mongo % //,...
dancesWithCycles's user avatar
4 votes
2 answers
92 views

trying to replace a string in sed with embedded { and $ and with -E or -r, the { is problematic for me. according to the docs and many examples I have read, I should only have to escape the { and $ if ...
Floyd Brown's user avatar
1 vote
1 answer
280 views

My project code links against some libraries whose source I don't have. During linking I get: /usr/x86_64-suse-linux/bin/ld:libfoo.a(foo.o): in function `flush': source/readcfg.c:1234:(.text+0xabc): ...
einpoklum's user avatar
  • 138k
-3 votes
3 answers
330 views

I want to use ordered_set in C++, for that I copied the header files from here. The header files are: include <ext/pb_ds/assoc_container.hpp> include <ext/pb_ds/tree_policy.hpp> When I ...
Harsh jain's user avatar
-1 votes
1 answer
111 views

I am writing a python program that needs to trigger long running programs through ssh, and I've decided on using screen. I need to know the result of the program at some later point, so, following the ...
notacorn's user avatar
  • 4,249
0 votes
1 answer
65 views

I'm running makefile in Githubactions. My makefile is failing to run touch command. I'm not sure what is the error here. Tried adding : `$(shell) to make command, still the same error. It worked in ...
user_01_02's user avatar
0 votes
1 answer
83 views

Hi Guys sorry but this is my first time trying to setup ARM GNU On my Mac-OS Apple Sillicon M1. I am having trouble with it as the linker fails to find the commands listed in the screenshot So far i ...
Anjula Serasinghe's user avatar
0 votes
0 answers
235 views

I recently installed emacs 29.1 on my Windows machine from this repo: https://ftp.gnu.org/gnu/emacs/windows/emacs-29/ I started configuring it and the first thing I did is install evil-mode, so I can ...
Bryan Yep's user avatar

1
2 3 4 5
58