mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 08:15:31 +00:00
eb6d411650
It was setup this way in bug 719579 for legitimate reasons (because _msize would end up using the system symbol, which would crash trying to get the size information from jemalloc allocations), but these reasons don't apply anymore: back then the linking situation was different, and nowadays, mozglue.dll exports its own _msize which plugs into mozjemalloc, and sqlite is folded into nss3.dll, which links against mozglue.dll, such that using _msize on mozjemalloc allocations works. For some reason, while _msize (and other similar functions) are exported from mozglue.dll without an explicit instruction to do so on clang-cl builds, that's not the case for mingw builds (presumably related to the definition of these functions in system headers, or lack thereof). So we also add MOZ_EXPORT for them. Differential Revision: https://phabricator.services.mozilla.com/D81286 |
||
---|---|---|
.. | ||
src | ||
README | ||
README.MOZILLA |
This directory contains source code to SQLite: An Embeddable SQL Database Engine To compile the project, first create a directory in which to place the build products. It is recommended, but not required, that the build directory be separate from the source directory. Cd into the build directory and then from the build directory run the configure script found at the root of the source tree. Then run "make". For example: tar xzf sqlite.tar.gz ;# Unpack the source tree into "sqlite" mkdir bld ;# Build will occur in a sibling directory cd bld ;# Change to the build directory ../sqlite/configure ;# Run the configure script make ;# Run the makefile. make install ;# (Optional) Install the build products The configure script uses autoconf 2.61 and libtool. If the configure script does not work out for you, there is a generic makefile named "Makefile.linux-gcc" in the top directory of the source tree that you can copy and edit to suit your needs. Comments on the generic makefile show what changes are needed. The linux binaries on the website are created using the generic makefile, not the configure script. The windows binaries on the website are created using MinGW32 configured as a cross-compiler running under Linux. For details, see the ./publish.sh script at the top-level of the source tree. The developers do not use teh configure script. SQLite does not require TCL to run, but a TCL installation is required by the makefiles. SQLite contains a lot of generated code and TCL is used to do much of that code generation. The makefile also requires AWK. Contacts: http://www.sqlite.org/