Mercurial > urweb
comparison doc/manual.tex @ 1515:8c65218920cf
Stop using -fno-inline by default
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sat, 23 Jul 2011 09:42:34 -0400 |
parents | dbb461e55eda |
children | c4f39b49aa2d |
comparison
equal
deleted
inserted
replaced
1514:3c0803c1acd7 | 1515:8c65218920cf |
---|---|
91 | 91 |
92 \begin{verbatim} | 92 \begin{verbatim} |
93 GCCARGS=-fnested-functions ./configure | 93 GCCARGS=-fnested-functions ./configure |
94 \end{verbatim} | 94 \end{verbatim} |
95 | 95 |
96 Some Mac OS X users have reported needing to use this particular GCCARGS value. | 96 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. |
97 | 97 |
98 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}. | 98 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}. |
99 | 99 |
100 The Emacs mode can be set to autoload by adding the following to your \texttt{.emacs} file. | 100 The Emacs mode can be set to autoload by adding the following to your \texttt{.emacs} file. |
101 | 101 |