On Fri, Jun 19, 2009 at 9:17 PM, Ian Lance Taylor<iant@xxxxxxxxxx> 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. > Thanks lan. Is each gcc compiled executable link with libgmp, by default? Or only in some circumstances libgmp gets linked? (output of ldd <exe>). - Sangamesh > Ian >