Top "Gnu" questions

This tag is for programming questions related to software and tools provided by the GNU ("GNU's Not Unix") project.

How to add a path to LDFLAGS

I'm trying to set up a library called PBC (Pairing-based cryptography). And this library requires another library called GMP -(…

gnu gmp mingw32
sed -i command for in-place editing to work with both GNU sed and BSD/OSX

I've got a makefile (developed for gmake on Linux) that I'm attempting to port to MacOS, but it seems like …

macos sed gnu inplace-editing
What is the command to match brackets in Emacs?

What is the command to match brackets in Emacs (the equivalent of the % command in Vim)?

linux emacs pattern-matching editor gnu
Grep's "Invalid range end" ­— bug or feature?

I've got these three files: $ cat pattern-ok ['\-] $ cat pattern-buggy [\-'] $ cat text abc'def-ghi And now, is the following …

regex grep gnu
Convert milliseconds to timespec for GNU port

I want to convert milliseconds into timespec structure used by GNU Linux. I have tried following code for the same. …

c linux datetime gnu timespec
Can GNU make handle filenames with spaces?

I have a directory containing several files, some of which have spaces in their names: Test workspace/ Another directory/ file1.…

shell makefile gnu
Seeking and reading large files in a Linux C++ application

I am running into integer overflow using the standard ftell and fseek options inside of G++, but I guess I …

c++ c linux gnu large-files
How to use the GDB (Gnu Debugger) and OpenOCD for microcontroller debugging - from the terminal?

The standard (low-cost) way to program ARM microcontrollers is using Eclipse with a complex toolchain plugged into it. Eclipse has …

gdb gnu jtag openocd
How to read and execute GDB commands from a file?

I run GDB on object file (e.g exeFile) and I want to examine it according to several commands . How …

gdb gnu disassembly
Invoking GCC as "cc" versus "gcc"

I am aware that on most GNU/Linux systems, GCC can be invoked by the name "cc" from the command …

c linux gcc compiler-construction gnu