Re: New option: -fstatic-libgfortran

2007-04-24 Thread H. J. Lu
On Tue, Apr 24, 2007 at 10:55:56AM +0200, François-Xavier Coudert wrote: > >Sorry about the (possibly off) question: would this apply also to > >GMP/MPFR, if not, wouldn't it make sense? > > GMP and MPFR are host libraries, so it is actually an independent > issue. However, it might be worth havin

Re: New option: -fstatic-libgfortran

2007-04-24 Thread François-Xavier Coudert
Sorry about the (possibly off) question: would this apply also to GMP/MPFR, if not, wouldn't it make sense? GMP and MPFR are host libraries, so it is actually an independent issue. However, it might be worth having --with-static-gmp and --with-static-mpfr to request static linking of these libra

Re: New option: -fstatic-libgfortran

2007-04-24 Thread Philippe Schaffnit
Oops! Thanks a lot for your reply. Philippe Brooks Moses wrote: > > Philippe Schaffnit wrote: > > Sorry about the (possibly off) question: would this apply also to > > GMP/MPFR, if not, wouldn't it make sense? > > It wouldn't make sense -- GMP and MPFR are never linked into the > compiled outp

Re: New option: -fstatic-libgfortran

2007-04-24 Thread Brooks Moses
Philippe Schaffnit wrote: Sorry about the (possibly off) question: would this apply also to GMP/MPFR, if not, wouldn't it make sense? It wouldn't make sense -- GMP and MPFR are never linked into the compiled output at all. (They're only used within the compiler itself, for processing constan

Re: New option: -fstatic-libgfortran

2007-04-23 Thread Philippe Schaffnit
Hi! Sorry about the (possibly off) question: would this apply also to GMP/MPFR, if not, wouldn't it make sense? Philippe François-Xavier Coudert wrote: > > Hi all, > > Attached is a first draft of a patch to add a -fstatic-libgfortran > option. This new option is recognized by the driver and

Re: New option: -fstatic-libgfortran

2007-04-20 Thread Bernhard Fischer
On Fri, Apr 20, 2007 at 10:15:34AM +0200, François-Xavier Coudert wrote: >Hi all, > >Attached is a first draft of a patch to add a -fstatic-libgfortran >option. This new option is recognized by the driver and instead of >adding "-lgfortran" to the various subprocesses, it adds "-Wl,-Bstatic >-lgfor

Re: New option: -fstatic-libgfortran

2007-04-20 Thread Joseph S. Myers
On Fri, 20 Apr 2007, Fran?ois-Xavier Coudert wrote: > Attached is a first draft of a patch to add a -fstatic-libgfortran > option. This new option is recognized by the driver and instead of I think -static-libgfortran (no initial "f") would be a better spelling, for consistency with -static-libg