gnu

How to get functions names from Linux headers located in /usr/include

We have most of Gnu C Library Headers in /usr/include I'm looking for a way to open and read an include file and parse it to print all the declared functions which are located inside it. and can any one explain or provide a link talking about this headers formatting. I doing this because I'm trying to do an C Auto completion plug-in whic...

Problem linking vector class

I have a big project with a bunch of .cc files that have mostly c code and some c++ code. I want to use a vector in this program since I need an unbounded data type that is simple to make 2d (in other words I don't want to use an array or a list). The problem is that when I run my make after including the vector class I get errors that I...

Mingw and make variables

I'm trying to compile an open source project on windows under mingw/msys. The makefile contains (among others) this line @${MAKE} --no-print-directory -C . -f physfs.make physfs.make contains (among others) these lines: ifndef CC CC = gcc endif when I ran make I get the following error: Creating obj/Debug/physfs physfs.c make[1...

How to prevent GNU Make from executing when a variable definition has trailing spaces

I had a simple variable definition in my makefile: THIS := ~/edan and it had trailing spaces in the line. Later, when I defined another variable in terms of this one: WARES := $(THIS)/wares the actual variable defined was /home/directory/edan wares and then the make clean rule removed /home/directory/edan instead...