This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building gcc 4.6 without libiconv


On 1/8/2011 10:21 PM, Jonathan Wakely wrote:
Do you mean the GCC makefile or the BSD ports makefile?
You don't need to change the GCC makefile to link statically to gmp,
mpfr and mpc.  If you put the gmp/mpfr/mpc sources in the gcc source
tree then those sources will be used and statically linked to the gcc
binaries.
If you want to use an existing libgmp.a already installed on the
system, then you might need to change the makefiles to force that to
happen.
Yes, all the libraries are already built, so it's faster to apply a one line patch to the gcc makefile to produce the bootstrap compiler than to rebuild 3 libraries that I already have in .a format.

The port-produced gnat will feature the normal shared-object libraries.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]