Re: Building MySQL under low-memory (VPS) conditions?
Posted by:
Weston C
Date: April 29, 2007 12:21PM
OK, after scanning the manual carefully, I've found that rather than changing the CFLAGS variable in the Makefile, it suggests setting CFLAGS as an environment variable in the shell. So:
CFLAGS="-param ggc-min-expand=0 --param ggc-min-heapsize=512"; export CFLAGS
seems to modify the behavior of gcc appropriately.
That solves my problem from a practical standpoint -- the compilation is going to take forever, but it looks like it will go.
However, I still don't know why changing the environment variables works while changing the Makefile vars doesn't. If anyone does, I'd be really interested in an explanation.
Subject
Views
Written By
Posted
4241
April 28, 2007 10:34PM
Re: Building MySQL under low-memory (VPS) conditions?
2203
April 29, 2007 12:21PM
2306
April 30, 2007 08:51AM
2131
April 30, 2007 12:12PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.