Top "Gnu" questions

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

How can I record what process or kernel activity is using the disk in GNU/Linux?

On a particular Debian server, iostat (and similar) report an unexpectedly high volume (in bytes) of disk writes going on. …

linux io gnu disk
Compiling gdb for remote debugging

I'm trying to remote debug an application running on arm9 So far I've been able to cross compile and execute …

debugging compilation gnu remote-debugging configure
Why is the fgets function deprecated?

From The GNU C Programming Tutorial: The fgets ("file get string") function is similar to the gets function. This function …

c file-io gnu c99 buffer-overflow
Why does my Mac (OS X 10.7.3) have an old version (2.3) of Gnu Bison?

The version of GNU Bison on my mac is 2.3 but I know that Bison 2.5 was released long ago. The book …

macos gnu bison
correct way to encode/embed version number in program code

I would like to embed my software version in my code and later retrieve it from the program binary with …

c++ linux bash version gnu
How can I make bash deal with long param using "getopt" command in mac?

I want to make my bash script deal with long parameters. I found getopt, but it isn't supported in OS …

macos bash gnu
Linux: Block until a string is matched in a file ("tail + grep with blocking")

Is there some one-line way in bash/GNU tools to block until there's a string matched in a file? Ideally, …

linux grep block gnu
Get GNU C Compiler working on iOS 6.x

I have a jailbroken (evasi0n) 4th generation iPad, with iOS 6.1 firmware. Through Cydia I've installed Mobile Terminal, version 520-2. …

compiler-construction ios6 terminal gnu jailbreak
Difference between Program header and Section Header in ELF

Q1 What is the difference between Program header and Section Header in ELF? Q1.1 What is the difference between segment …

c arm gnu elf linker-scripts
Use GNU versions of basename() and dirname() in C source

How do I use the GNU C Library version of basename() and dirname()?. If you #include <libgen.h> …

c posix gnu dirname