Vincent Lefevre on Wed, 02 Nov 2005 11:12:37 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Configure bug when CPPFLAGS is set


On 2005-11-02 10:45:02 +0100, Bill Allombert wrote:
> Is there some document listing the environment variables that
> we should be support ?

In your configure system, you should take into account the
environment variables you really use when compiling programs.
So, this depends on the Makefile. This may be implicit rules
if you use them (but AFAIK, they may depend on the platform,
so in this case, the best choice is to assume GNU make). The
documentation of GNU make gives:

Compiling C programs
  `N.o' is made automatically from `N.c' with a command of the form
  `$(CC) -c $(CPPFLAGS) $(CFLAGS)'.

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA