Questions tagged [gnu]

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

The GNU Project is a free software, mass collaboration project, announced on September 27, 1983, by Richard Stallman at MIT. It initiated GNU operating system development in 1984. The founding goal of the project was, in the words of its initial announcement, to develop "a sufficient body of free software [...] to get along without any software that is not free."

To make this happen, the GNU Project began working on an operating system called GNU ("GNU" is a recursive acronym that stands for "GNU's Not Unix"). This goal of making a free software operating system was achieved in 1992 when the last gap in the GNU system, a kernel, was filled by the third-party Linux kernel being released as Free Software, under version 2 of the GNU GPL.

2807 questions
1
vote
1 answer

Wrap __LINE__ in to single quotes

How can I wrap LINE and FILE macros in M4 to display '4' or "4". I want it to be ready for output to the console. I am using C++ for this.
1
vote
1 answer

Using GNUwin patch

In the bin folder I have the file I want to change, AppFilters.groovy and the patch produced by WinMerge- app.patch When I run... patch.exe AppFilters.groovy < app.patch ...a command console opens, but is blank and doesn't do anything. The patch…
user2782001
  • 3,380
  • 3
  • 22
  • 41
1
vote
0 answers

Install v8js in fedora error with GNU_UNIQUE

I recently read about v8js and php server side rendering. I tried installing it via pecl, It told me that my v8 version is 3.14 and 3.24 is required. I tried installing older v8js-0.1.4, which required 3.17 at minimum. DNF repo only have 3.14 of…
Abhinav Kulshreshtha
  • 2,147
  • 1
  • 23
  • 38
1
vote
1 answer

Compile coretuils as shared objects?

I am trying to compile GNU Coreutils as a set of shared libraries, instead of a set of executables. I thought that make would let me pass in a flag to tell it to do this, but from what I can see I would actually have to modify the configure.ac and…
Saff
  • 41
  • 5
1
vote
1 answer

(GNU) find -mtime using variables

I'm trying to find files using -mtime +(variable), but everytime I execute below in GNU I'm getting an error: find: missing argument to `-mtime' Tried in AIX and it worked. #------config-------# cat hkeep.cfg #,
Vanessa
  • 49
  • 4
1
vote
0 answers

How to generate Label debug info in GreenHills assembler?

I'd like to generate debug info for labels in assembly files assembled by GreenHills assembler so that it is visible to debuggres in GAS "GNU Assembler" it is done like that: .func FuncName [,Lablel] .endfunc but his generates error in GreenHills…
iwahdan
  • 429
  • 1
  • 5
  • 14
1
vote
0 answers

Error: gsl/gsl_file.h : No such file or directory found

Here's what I have been doing for almost 6 days and haven't got any solution. I am trying to call some C functions from R on my Win7 system. The R code includes function which contains other statistics function(like multivariate normal density…
Ankit Jain
  • 53
  • 6
1
vote
3 answers

Are "Statement and Declarations in Expressions" specific to GNU C?

Are Statement and Declarations in Expressions specific to GNU C ? Or this feature is also included in C99 standard ?
Andrei Ciobanu
  • 12,500
  • 24
  • 85
  • 118
1
vote
1 answer

Gnu Parallel - decrypt and send file content to a Python script

I would like to decrypt a bunch of very large files and use the decrypted version of each file as input to a Python script which will process its content. So, if I have a file named file1.sc.xz.gpg after running the GnuPG decryption tool the…
Crista23
  • 3,203
  • 9
  • 47
  • 60
1
vote
2 answers

in Makefiles, how to test for gcc's --with-ld option?

We're trying to develop an as-portable-as-possible Makefile... Neither uname nor uname -v is definitive in one suite of cases... which ld is also unhelpful, as both linkers are present... I imagine we could just parse output of gcc -v for…
DrLou
  • 649
  • 5
  • 21
1
vote
1 answer

Copy directory in GnuParallel

I have a basic job to do: I want to copy the contents of one directory to another location by preserving all the structure inside it (subfolders and files). The size of this directory is very large, and I would like to perform the copy in parallel…
Crista23
  • 3,203
  • 9
  • 47
  • 60
1
vote
1 answer

Installing Python 3.1.2 from source, how do you resolve the sqlite3-dev dependency?

Running ubuntu 9.04 "jaunty". When I run make I get the following error: Python build finished, but the necessary bits to build these modules were not found: _sqlite3 So the easy solution is to just install the missing dependency using apt-get,…
Trevor Boyd Smith
  • 18,164
  • 32
  • 127
  • 177
1
vote
1 answer

Side-by-side diff (-y) : how to hide the reverse-video ^M (at end-of-line)?

Problem I'm diffing files side-by-side (-y) on a GNU/Linux system: $ diff -y file1 file2 but each end-of-line results in spurious ^M in reverse video... one for the left line and one for the right line. Here's the version of diff I'm using: diff…
Bludzee
  • 2,733
  • 5
  • 38
  • 46
1
vote
2 answers

Why do these base64 encoding outputs differ, given the same input string?

When getting a bas64 encoded string from the same input string I find that JavaScript, Groovy, and Go have the same result, but GNU base64 is slightly different. Why is that? JavaScript (nodejs v0.10.33): new Buffer('Laurence Tureaud is Mr.…
user605331
  • 3,718
  • 4
  • 33
  • 60
1
vote
1 answer

gnuplot: xtics not shown on X-axis

I am trying to populate graph with some fixed values on X-axis and corresponding values on Y-axis. With my below script, no values are labelled on X-axis and value on Y-axis are labelled with powers. How to make xtics data(1000, 10000, 100000,…
Anil Kumar K K
  • 1,395
  • 1
  • 16
  • 27