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

Horrid error with strtod(): glibc-2.13 NOT backwards compatible with glibc-2.9?

I'm working on C and C++ programs which need to run on several different embedded platforms, for which I have cross-complilers so I can do the build on my x86 desktop. I have a horrible problem with certain functions, e.g. "strtod()". Here's my…
Jeremy
  • 1,083
  • 3
  • 13
  • 25
1
vote
1 answer

Reset Make's dependency dates

I set my computer's date to 1 year in the future, make a change to main.c, and recompile my project with make. I set my computer's date back to the real date, however make now thinks that the file was last modified 1 year in the future. I can no…
Jimmay
  • 959
  • 3
  • 13
  • 27
1
vote
1 answer

Building objdump on osx to allow disassembling arm64 objects

I'm trying to disassemble openSSL that I've built for iOS targeting arm64 architecture with objdump (from GNU binutil) giving it following options: ./objdump openssl -f (file headers), -t (symbol table), and -h (section headers) but getting…
marcin
  • 125
  • 1
  • 14
1
vote
1 answer

assign non-integer value to integer variable in C

I am referring to GNU c tutorial it says assign non-integer value to integer variable will generate compile time error what exactly the error is,any example?? i tried int a='A'; int a=2.323; all are fine what else could be to justify the…
1
vote
1 answer

Strange behavior of std::cout &operator<<

I came across something weird today, and I was wondering if any of you here could explain what's happening... Here's a sample: #include #include using namespace std; #define REQUIRE_STRING(s) assert(s != 0) #define…
themoondothshine
  • 2,983
  • 5
  • 24
  • 34
1
vote
1 answer

Using thread and mutex in Android Studio with ndk 10c

I have the latest version of the 64bit NDK (r10c), and the latest version of Android Studio I can download (0.8.14). I am making a number of JNI calls to use String, Vector, Atomic, etc. But I can not figure out how to use thread and mutex. Both…
Brian S
  • 3,096
  • 37
  • 55
1
vote
1 answer

GNU parallel interactive mode. How to make chunk request instead of request for each job?

Is it possible to make chunk request instead of request for each job? function $1 $2 $3 | parallel --gnu --group --interactive -k -j 4 function_run {} In that case, GNU Parallel is asking question to run each job, but i want question to run next…
Varek
  • 13
  • 4
1
vote
3 answers

GNU GCC compilor error "multiple definition of main"

I am new to ubuntu, now I need to develop my assignment in C++. I am using codeblocks IDE to write c++ programs. Whenever I compile something in it, it gives these errors: multiple definition of main warning: control reaches end of non-void…
arximughal
  • 270
  • 3
  • 16
1
vote
2 answers

What's the output object file format of GNU assembler as?

I have checked the assembler options of GNU assembler as and I didn't find an option to specify the output object file format. If I am using the following command as -o foobar.o foobar.s What object file format will I get? The as manual says that…
smwikipedia
  • 61,609
  • 92
  • 309
  • 482
1
vote
1 answer

How do you define the options you see in ./configure --help?

I'm currently trying to set up a package to be installed with autotools. In most, if not all, major software packages, configure --help lists a large number of options like ./configure --ENABLE-FLOAT, etc. I was wondering where I can define these…
Sam
  • 11
  • 2
1
vote
1 answer

Can excel execute a cmd command then put the output on a cell?

Here's what I'm trying to do. I have a log file of execution times on a program. Normally, if I want a quick find on how many entries that the function of a program has been executed, average/max execution is to use a combination of grep, gawk, wc,…
MDuh
  • 415
  • 1
  • 7
  • 19
1
vote
1 answer

GNUjump not building on Arch Linux

I'm trying to build GNUjump on Arch Linux (release 1 Oct. 2014), but i'm getting a strange error, and i don't know what to do. ./configure shows me no error. So, i launch make, and this appears: /usr/bin/ld: SDL_rotozoom.o: undefined reference to…
EerieNight
  • 51
  • 7
1
vote
1 answer

There is a collection of patches for gcc?

The linux kernel project tries to collect all the useful patches in a single place, they are not hard to locate if you need one, with gcc I can't locate a resource, online or offline, with the official releases or with the development snapshots,…
user2485710
  • 9,451
  • 13
  • 58
  • 102
1
vote
1 answer

Checking whether a shell option is set with [ -o OPTION ], weird behavior when OPTION is on

I am in the process of reading this bash guide from the Linux Documentation Project. On page 81 and 82 there's a short example script for testing whether an option is set: if [ -o noclobber ] then echo "Your files are protected against…
timgeb
  • 76,762
  • 20
  • 123
  • 145
1
vote
1 answer

Stop running a hook in certain Emacs modes

I have this line in my GNU Emacs configuration which cleans up white spaces when I save: (add-hook 'before-save-hook 'whitespace-cleanup) How can I keep this from running in certain modes (Makefile mode, for example)?
Elektito
  • 3,863
  • 8
  • 42
  • 72
1 2 3
99
100