diff options
author | Adam Chlipala <adam@chlipala.net> | 2011-07-23 16:27:04 -0400 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2011-07-23 16:27:04 -0400 |
commit | d9b2b05e66e65374bcf469088126461614c67b28 (patch) | |
tree | 9d73d1c84b54e94173bbdbb4c602fbf49f857e9f /doc | |
parent | 0bc9d7facc993ec06319a6880d12bdfe54cff215 (diff) |
A few more tweaks to support Clang (including ending use of nested functions)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/manual.tex | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/doc/manual.tex b/doc/manual.tex index 7468c0e6..8573c1c1 100644 --- a/doc/manual.tex +++ b/doc/manual.tex @@ -87,14 +87,12 @@ apt-get install emacs-goodies-el If you don't want to install the Emacs mode, run \texttt{./configure} with the argument \texttt{--without-emacs}. -Even with the right packages installed, configuration and building might fail to work. After you run \texttt{./configure}, you will see the values of some named environment variables printed. You may need to adjust these values to get proper installation for your system. To change a value, store your preferred alternative in the corresponding UNIX environment variable, before running \texttt{./configure}. For instance, here is how to change the list of extra arguments that the Ur/Web compiler will pass to GCC on every invocation. +Even with the right packages installed, configuration and building might fail to work. After you run \texttt{./configure}, you will see the values of some named environment variables printed. You may need to adjust these values to get proper installation for your system. To change a value, store your preferred alternative in the corresponding UNIX environment variable, before running \texttt{./configure}. For instance, here is how to change the list of extra arguments that the Ur/Web compiler will pass to GCC on every invocation. Some older GCC versions need this setting to mask a bug in function inlining. \begin{verbatim} -GCCARGS=-fnested-functions ./configure +GCCARGS=-fno-inline ./configure \end{verbatim} -Some Mac OS X users have reported needing to use this particular GCCARGS value. Also, some older GCC versions have inlining-related bugs that can be masked (at some cost to output code quality) by adding \texttt{-fno-inline} here. - Since the author is still getting a handle on the GNU Autotools that provide the build system, you may need to do some further work to get started, especially in environments with significant differences from Linux (where most testing is done). The variables \texttt{PGHEADER}, \texttt{MSHEADER}, and \texttt{SQHEADER} may be used to set the proper C header files to include for the development libraries of PostgreSQL, MySQL, and SQLite, respectively. To get libpq to link, one OS X user reported setting \texttt{GCCARGS="-I/opt/local/include -L/opt/local/lib/postgresql84"}, after creating a symbolic link with \texttt{ln -s /opt/local/include/postgresql84 /opt/local/include/postgresql}. The Emacs mode can be set to autoload by adding the following to your \texttt{.emacs} file. |