[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: How to do this...

>>>>> "chetan" == chetan dutta <linux_delhi@xxxxxxxxxxx> writes:

    chetan> what is the purpose of "CFLAGS=...." ?

The variable CFLAGS contains the arguments to be passed onto gcc
while compiling.  In Makefiles, this variable is typically written as
a Makefile variable, and while running configure, it is usually
specified via an environment variable named CFLAGS (like in this case).

Here the arguments are:

-O6: Optimization level 6 (currently equivalent to -O3).

-pipe: Makes gcc use pipes instead of temp files.  Uses more memory
 but is faster. 



    >> From: Raju Mathur <raju@xxxxxxxxxxxxxxx> Reply-To:
    >> raju@xxxxxxxxxxxxxxx To: linux-delhi@xxxxxxxxxxxxxxxxxxxxx
    >> Subject: [linux-delhi] How to do this...  Date: Fri, 24 Nov
    >> 2000 10:06:02 +0530 (IST)
    >> Hi Bhummanjot,
    >> In general, the way to install a source tar distribution runs
    >> something like this:
    >> cd /tmp tar zxof package-ver.release.tar.gz cd
    >> package-ver.release (or whatever directory it's created)
    >> CFLAGS="-O6 -pipe" ./configure make make test make install
    >> This won't work for all packages, but with a little bit of
    >> tweaking you'll find that 99% of source distributions get
    >> installed using this method.  Just think about what you're
    >> doing and you should be fine.
    >> Regards,
    >> -- Raju