On Thu, 2007-08-09 at 11:41 +0700, zen wrote:
> core# grep -2 MALLOPT include/autoconf.h
> 
> /* Define to 1 if you have the `mallopt' function. */
> /* #undef HAVE_MALLOPT */
> 
> /* Define to 1 if you have the <math.h> header file. */

This matches my understanding.

> 
> >and the output of
> >
> >     cd lib/
> >     # this is the compilation command from your original email except I 
> > told GCC
> >     # to stop at the preprocessing step and save the results into MemPool.E
> >     g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include 
> > -Werror -Wall -Wpointer-arith -Wwrite-strings -Wcomments  -D_REENTRANT -g 
> > -O2 -MT MemPool.o -MD -MP -MF ".deps/MemPool.Tpo" -E -o MemPool.E MemPool.cc
> >     fgrep -3 mallopt MemPool.E  
> >
> i dont understand what these mean.. sorry

Just go ahead and cut-and-paste those commands into your shell, starting
from the top Squid source directory. The last command may produce some
output. You do not need to cut-and-paste comments (lines starting with
'#'). 

The first command places you into Squid's lib directory. The second
precompiles MemPool.cc into MemPool.E using g++. The third searches for
mallopt in that precompiled file.

> >and
> >     g++ --version  
> >
> core# g++ --version
> g++ (GCC) 3.4.4 [FreeBSD] 20050518

Noted.

Thank you,

Alex.


Reply via email to