gnu

Where did the gnuwin32 inetutils package go?

There are traces of the gnuwin32 inetutils package on the net. But it's not at the site anymore. where is it? Specifically where is the gnu telnet app for win32? ...

MSVC equivalent to '__builtin_return_address'

With msvc, is there an equivalent to gcc's "__builtin_return_address"? I'm looking to find the address of the calling function, 1 level deep. ...

GNU Screen refresh problem

I've recently started using GNU Screen but have run into a very annoying problem. In any screen window if I press the left arrow key or backspace when there is nothing typed at the prompt the screen seems to refresh, causing a slight flicker. After typing some text at the prompt using the backspace or left arrow won't cause the flicker...

GNU GENERAL PUBLIC LICENSE software as part of commercial product.

Hi All I am developing a CRM system for small/medium companies, and i want to integrate a GPL software as a module to my system(with some modification on my demand). Will it be legal to license it as a commercial product ? Thanks. ...

How do I pass through --program-prefix=PREFIX from configure to one of the child makefiles?

Autoconf has gotten me stumped. I have tried modifying the COMPILE in Makefile.in as follows COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -DFINALDIR=\"$(DESTDIR)$(bindir)\" but my use of FINALDIR is undefined. What is the proper way to do it? In my defense the...

Compiling GNU software on HP-UX. yy* symbols problem

When trying to compile GNU software on HP-UX (binutils for example) I'm getting error meggages about unsatisfied symbols yyfnd, yyextra, yytextuc, yyolsp ... Some software can't be compiled using HP-UX own lex so i've included byacc and flex executables in my PATH. Is it HP-UX lex problem? How to fix it? ...

How can I ignore command line variable assignment in a recursive build?

I'm trying to glue two build systems together. Both are recursive (rules in the makefile use make to call other makefiles to build components of the project). I'll call them 'A' and 'B' where 'A' builds the application and 'B' builds libraries used by 'A'. The top level makefile in A calls 'make TARGET=whatever' which means that all ...

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 line (as opposed to "gcc"). What I am wondering is if there is any difference in GCC's behavior when it is invoked one way versus the other. For example, I know that invoking GCC through the name "g++" instead of "gcc" causes GCC to behave di...

Bumping version numbers for new releases in associated files (documentation)

I would be interested to in knowing how you out there handle the bumping the version number for new releases issue. How do you handle the version number in associated files like man pages, etc. The software is build with the gnu tool chain so autoconf, automake, etc are available and used for the version number of the application. So t...

What is the best way to build open source libraries DLLs for Windows developers to use?

I have several C free software/open source libraries that I develop on Linux and OSX with the GNU toolchain (automake, conf, flex, bison, gcc, ...) but I occasionally get requests to provide Windows DLLs. I'd like to be able to provide those without having to spend a lot of time and money with Windows Visual Studio development. I do ha...

How to make configure script check the dependencies

Hi I generated a configure script with autoconf to build my project. It works fine unless I don't have some needed library installed. Make returns error when lacking some files, but it should be actually checked by the configure script i think? So my question is: How to modify an autoconf generated script to seek for dependencies and ...

IDE / Emacs mode for Shell scripting in Bash/Sh, etc.

I use Emacs for shell scripts. I know I read somewhere there's some mode to make it easier (code completion, autocomplete, bracket matching, syntax highligting, check syntax) to write Shell scripts on Emacs but haven't been able to find it. In short, I would like to turn Emacs into a Bash IDE. Also, is there any other tool/IDE to make s...

GNU CC and Windows

I'm a bit confused about the options for using GNU CC on Windows. If I want to primarily develop console applications (as opposed to GUI apps) what do I need? Where do Cygwin and MinGW figure? For example, if I use the NetBeans IDE C/C++ option, that requires installation of Cygwin. Are there any options which would allow Console appli...

Autotools library and object file output control

My goal is to have all object files built in a .objs directory instead of the root of the Makefile, and to have the binaries (and libraries) copied into the project's bin/ directory. But I have been unable to find any resources to explain how to do this. How would I go about doing this? Here is my configure.ac and src/Makefile.am - I ha...

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 was mistaken because it seems that ftell64 and fseek64 are not available. I have been searching and many websites seem to reference using lseek with the off64_t datatype, but I have not found any examples referencing something equal...

Postfix alias for all user names?

Is there something you can put in /etc/aliases that will make postfix send all mail to one user, no matter what the username? ...

In very simple gtk2 c app, problem setting up gnu build tools

UPDATE: First problem solved, second one described at the bottom of this post. UPDATE2: Second problem solved as well. I'm trying to learn about setting up GNU build tools (autoconf/automake) for a very simple GTK+2 C application. I've followed this tutorial and this one that deals with sub directories, but I'm running into a problem ...

building a Cygwin version of GNU make

I want to add a couple of logging options to GNU make so I can see what is happening when building FireFox and friends. I have the make-3.80 sources and a complete working Cygwin build environment. Starting with ./configure and the Make I get a working executable as expected. Question: What configuration is required so the executable...

Copyleft license

I'm looking for a license that has the following requirements: is viral. your code must be open source. you must let the author know and credit the author. if you distribute and you use this source code you must use this license. even if you re-implement but you use the same ideas and concepts then you must also use this license. even ...

Differences between GNU LGPL v2.1 and GNU LGPL v3?

What are the differences between GNU LGPL v2.1 and GNU LGPL v3? I know I can read the legal text and compare them, but it's a pain to understand these legal stuffs. Can you give in a few bullet points the major changes in human language :) ? EDIT: I know the differences between GNU GPL v2 and GNU GPL v3. I want to know the specific ch...