diff options
Diffstat (limited to 'src/ljamalg.c')
| -rw-r--r-- | src/ljamalg.c | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/src/ljamalg.c b/src/ljamalg.c index ebb767cb..1dd96989 100644 --- a/src/ljamalg.c +++ b/src/ljamalg.c | |||
| @@ -3,16 +3,6 @@ | |||
| 3 | ** Copyright (C) 2005-2026 Mike Pall. See Copyright Notice in luajit.h | 3 | ** Copyright (C) 2005-2026 Mike Pall. See Copyright Notice in luajit.h |
| 4 | */ | 4 | */ |
| 5 | 5 | ||
| 6 | /* | ||
| 7 | +--------------------------------------------------------------------------+ | ||
| 8 | | WARNING: Compiling the amalgamation needs a lot of virtual memory | | ||
| 9 | | (around 300 MB with GCC 4.x)! If you don't have enough physical memory | | ||
| 10 | | your machine will start swapping to disk and the compile will not finish | | ||
| 11 | | within a reasonable amount of time. | | ||
| 12 | | So either compile on a bigger machine or use the non-amalgamated build. | | ||
| 13 | +--------------------------------------------------------------------------+ | ||
| 14 | */ | ||
| 15 | |||
| 16 | #define ljamalg_c | 6 | #define ljamalg_c |
| 17 | #define LUA_CORE | 7 | #define LUA_CORE |
| 18 | 8 | ||
| @@ -28,23 +18,30 @@ | |||
| 28 | #include "lua.h" | 18 | #include "lua.h" |
| 29 | #include "lauxlib.h" | 19 | #include "lauxlib.h" |
| 30 | 20 | ||
| 21 | #include "lj_assert.c" | ||
| 31 | #include "lj_gc.c" | 22 | #include "lj_gc.c" |
| 32 | #include "lj_err.c" | 23 | #include "lj_err.c" |
| 33 | #include "lj_char.c" | 24 | #include "lj_char.c" |
| 34 | #include "lj_bc.c" | 25 | #include "lj_bc.c" |
| 35 | #include "lj_obj.c" | 26 | #include "lj_obj.c" |
| 27 | #include "lj_buf.c" | ||
| 36 | #include "lj_str.c" | 28 | #include "lj_str.c" |
| 37 | #include "lj_tab.c" | 29 | #include "lj_tab.c" |
| 38 | #include "lj_func.c" | 30 | #include "lj_func.c" |
| 39 | #include "lj_udata.c" | 31 | #include "lj_udata.c" |
| 40 | #include "lj_meta.c" | 32 | #include "lj_meta.c" |
| 41 | #include "lj_debug.c" | 33 | #include "lj_debug.c" |
| 34 | #include "lj_prng.c" | ||
| 42 | #include "lj_state.c" | 35 | #include "lj_state.c" |
| 43 | #include "lj_dispatch.c" | 36 | #include "lj_dispatch.c" |
| 44 | #include "lj_vmevent.c" | 37 | #include "lj_vmevent.c" |
| 45 | #include "lj_vmmath.c" | 38 | #include "lj_vmmath.c" |
| 46 | #include "lj_strscan.c" | 39 | #include "lj_strscan.c" |
| 40 | #include "lj_strfmt.c" | ||
| 41 | #include "lj_strfmt_num.c" | ||
| 42 | #include "lj_serialize.c" | ||
| 47 | #include "lj_api.c" | 43 | #include "lj_api.c" |
| 44 | #include "lj_profile.c" | ||
| 48 | #include "lj_lex.c" | 45 | #include "lj_lex.c" |
| 49 | #include "lj_parse.c" | 46 | #include "lj_parse.c" |
| 50 | #include "lj_bcread.c" | 47 | #include "lj_bcread.c" |
| @@ -89,5 +86,6 @@ | |||
| 89 | #include "lib_bit.c" | 86 | #include "lib_bit.c" |
| 90 | #include "lib_jit.c" | 87 | #include "lib_jit.c" |
| 91 | #include "lib_ffi.c" | 88 | #include "lib_ffi.c" |
| 89 | #include "lib_buffer.c" | ||
| 92 | #include "lib_init.c" | 90 | #include "lib_init.c" |
| 93 | 91 | ||
