parted: Compiling
1
1 1.5 Building GNU Parted
1 =======================
1
1 If you want to compile GNU Parted, this is generally done with:
1
1 $ ./configure
1 $ make
1
1 However, there are a few options for 'configure':
1
1 '--without-readline'
1 turns off use of readline. This is useful for making rescue disks,
1 etc., where few libraries are available.
1
1 '--disable-debug'
1 don't include assertions
1
1 '--disable-dynamic-loading'
1 disables dynamic loading of some libraries (only libreiserfs for
1 now, although we hope to expand this). Dynamic loading is useful
1 because it allows you to reuse libparted shared libraries even when
1 you don't know if some libraries will be available. It has a small
1 overhead (mainly linking with libdl), so it may be useful to
1 disable it on bootdisks if you don't need the flexibility.
1
1 '--disable-nls'
1 turns off native language support. This is useful for use with old
1 versions of glibc, or a trimmed down version of glibc suitable for
1 rescue disks.
1
1 '--disable-shared'
1 turns off shared libraries. This may be necessary for use with old
1 versions of GNU libc, if you get a compile error about a "spilled
1 register". Also useful for boot/rescue disks.
1
1 '--enable-discover-only'
1 support only reading/probing (reduces size considerably)
1
1 '--enable-mtrace'
1 enable malloc() debugging
1
1 '--enable-read-only'
1 disable writing (for debugging)
1
1 1.5.1 Introduction
1 ------------------
1
1 If you want to run GNU Parted on a machine without GNU/Linux installed,
1 or you want to modify a root or boot partition, use GParted Live:
1 <http://gparted.sourceforge.net/livecd.php>.
1