Richard Earnshaw <rearnsha@xxxxxxx> writes: > On Fri, 2009-06-19 at 08:47 -0700, Ian Lance Taylor wrote: >> Sangamesh B <forum.san@xxxxxxxxx> writes: >> >> > So is there a way to compile GCC without gmp library? Is that possible? >> >> No. >> >> But you don't have to install gmp. You can put the gmp sources in the >> gcc build directory, in a directory named "gmp", and they will be built >> and linked in. Or, you can build and install gmp in your home >> directory, configuring gmp with --disable-static, and use --with-gmp >> when you configure gcc to point it to your private install. >> >> Ian > > I normally find it better to use --disable-shared rather than > --disable-static. Then your binaries won't have any unusual > dependencies at run-time (ie gmp & mpfr will be statically linked into > your image). Quite right, I did mean --disable-shared. Sorry. Ian