diff options
author | Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp> | 2012-01-23 10:08:48 +0900 |
---|---|---|
committer | Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp> | 2012-01-24 17:11:47 +0900 |
commit | 67b2be204a8986f3c6138446b7d63d28c949c4dd (patch) | |
tree | 612b0c101ddcbaeee0117fe1c3f528bd4f94cef3 /README | |
parent | 440ed489c4116fff7c580748e6e0372448ee84fa (diff) |
[PATCH] Add Makefile parameter to use dynamic libraries.
Add "LINKTYPE" parameter to use dynamic libraries.
If you want to build makedumpfile using dynamic libraries,
you need "LINKTYPE=dynamic".
$ make LINKTYPE=dynamic
...
$ ldd makedumpfile
libdw.so.1 => /usr/lib64/libdw.so.1 (0x0000003ca2800000)
libbz2.so.1 => /usr/lib64/libbz2.so.1 (0x000000394b200000)
libdl.so.2 => /lib64/libdl.so.2 (0x00000031a5a00000)
libelf.so.1 => /usr/lib64/libelf.so.1 (0x0000003ca2400000)
libz.so.1 => /usr/lib64/libz.so.1 (0x00000031a6200000)
libc.so.6 => /lib64/libc.so.6 (0x00000031a5200000)
/lib64/ld-linux-x86-64.so.2 (0x00000031a4e00000)
Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
Diffstat (limited to 'README')
-rw-r--r-- | README | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -124,8 +124,12 @@ run while the second kernel, which may not mount root filesystem and may not contain dynamic library files, is running. If the dynamic library files, which are needed by makedumpfile, exist - while the second kernel is running, we can remove -static option from - Makefile. This is a workaround for some linux distributions which does + while the second kernel is running, we can use dynamic libraries by + "LINKTYPE" parameter. + + $ make LINKTYPE=dynamic + + This is a workaround for some linux distributions which does not contain static library files needed by makedumpfile. |