gnu

type of Boost licence

What is the Boost licence? ...

pbcopy does not seem to work within a gnu screen window in OSX

On my OS X Leopard Macbook Pro, I try to pipe text or redirect a text file into pbcopy. It works when I do this in the Terminal, but not if I do it in the Terminal when I'm working in a Gnu screen window. Is this a bug or is there a workaround? ...

What exactly is the GNU tar ././@LongLink "trick"?

I read that a tar entry type of 'L' (76) is used by gnu tar and gnu-compliant tar utilities to indicate that the next entry in the archive has a "long" name. In this case the header block with the entry type of 'L' usually encodes the name ././@LongLink . My question is: where is the format of the next block described? The format o...

need programs that illustrate use of settimer and alarm functions in GNU C

Can anyone illustrate the use of settimer or alarm function in gnu C , with some program examples ,please ? I have a program that continuously processes some data , and i need to set a timer / alarm that goes off every t seconds , in response to which , i need to store the processed data into a file. This file writing has to be asynchro...

Xcode makefile or compilation options

Hi, I am new to Xcode. Once I configure my C++ command line application to build, and it builds successfully, I have sometimes no clue about how Xcode calls GNU C++. Is it possible to get the makefile that Xcode creates or how to see the compilation options created by Xcode? Thanks ...

how can i load programs in YAP prolog? and is YAP able to load the extention .pro?

i'm learning YAP on my own. i have a ready made program in YAP .. and i don't know how to consult it to load it to the program menu! the code is in C:\Users\Majd\Desktop\XXX.pl ...

Scope of C libraries in C++ - <X.h> vs <cX>

The C++ Programming Language : Special Edition states on page 431 that... For every header < X.h > defining part of the C standard library in the global namespace and also in namespace std, there is a header < cX > defining the same names in the std namespace only. However, when I use C headers in the < cX > style, I don't need to qual...

What are good heuristics for inlining functions?

Considering that you're trying solely to optimize for speed, what are good heuristics for deciding whether to inline a function or not? Obviously code size should be important, but are there any other factors typically used when (say) gcc or icc is determining whether to inline a function call? Has there been any significant academic wor...

GNU Public License version 2 with Classpath Exception?

I noticed this today, and I searched for it on Google, but I can't seem to find the GNU Public License Version 2 with Classpath Exception. Is it a new license? What does it cover? Edit: I was originally kidding (and hadn't really Googled) because I thought this was a Netbeans error, but I see that the joke is on me: it's an exception ...

How does GNU GPL Version 3 license work for CSS/Design?

I have downloaded a WordPress Theme that has a GNU licence. I need to modify it quite a bit to make it compatible with my site. How does the licensing work on this? The original had a "Designed by X" in the footer but now I have made changes, I'm sure they won't want to look like they created it any more as it is not the same as the or...

Resources to learn C and its development tools for Unix

I know a little bit of C from high school and uni (mostly forgotten). I would like to learn C for Unix developemnt. I have a book of Dietel but there is not any information on how to use make, configure, Makefile and Posix API. I would like to have some resources, books, web sites, PDF, anything, to get started. I want to use gnu tools....

nHibernate/GNU question

Hi, I'm a little bit confused by the nHibernate's GNU model. The question is simple, if I build an application using nHibernate's ORM features, am I allowed to later sell this application (company's intellectual property) or it automatically becomes open source system and falls under GNU open source model ? I did some reading about GNU b...

Regex for string using GNU C regex library

Hello, I am writing a regex to use with the GNU C regex library: The string is of the form: (text in italics is a description of content) (NOT a #) start (maybe whitespace) : data I have written the following code, but it won't match. regcomp(&start_state, "^[^#][ \\t]*\\(start\\)[ \\t]*[:].*$", REG_EXTENDED); What do I need t...

How can I easily install arm-elf-gcc on OS X?

Please let me know if this should be on Server Fault... I've got some code I want to compile which requires arm-elf-gcc. I'm not an embedded programmer, so all this is new to me. My development machine is a Mac and I use fink pretty often, so I'd love to be able to install it that way. However, fink doesn't know of any package with that...

Change stack size for a C++ application in Linux during compilation with GNU compiler

Hi, probably this is a stupid question, but I am desperate now and can not finf the answer. In OSX during C++ program compilation with G++ I use LD_FLAGS= -Wl,-stack_size,0x100000000 but in suse linux I get constantly erros like: x86_64-suse-linux/bin/ld: unrecognized option '--stack' and similar. I know that some options to cop...

Increase stack size in Linux with setrlimit

Hi, reading information about how to increase stack size for a c++ application compiled with gnu, at compilation time, I understood that it can be done with setrlimit at the beginning of the program. Nevertheless I could not find any successful example on how to use it and in which part of the program apply it in order to get a 64M stac...

Texmacs font trouble

Hey, I have Gnu Texmacs installed on OsX and Ubuntu. On both operating systems, whenever I close and open a file again in Texmacs, the font has changed from Roman to Typewriter. What do I need to do in order to prevent that from happening? Thanks Sid ...

web2py and GNU GPL v2.0

web2py is listed under GNU GPL v2.0 so my question is: If I develop an application using web2py do I have to release it under GNU GPL v2.0? ...

Variations of sed between OSX and GNU/Linux

Hi all- I've got a makefile (developed for gmake on Linux) that I'm attempting to port to OSX, but it seems like sed doesn't want to cooperate. What I do is use GCC to autogenerate dependency files, and then tweak them a bit using sed. The relevant portion of the makefile: $(OBJ_DIR)/%.d: $(SRC_DIR)/%.cpp $(CPPC) -MM -MD $< -o $@ ...

GNU Smalltalk - Formatting output and disabling GC messages

How do I disable garbage collection messages with GNU Smalltalk 3.0.5 stable? Also, is there a way to remove the quote marks output when outputting strings? Ex: 'test' printNl. prints 'test' rather than test ...