This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: gfortran, -static and cctools
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: Jack Howarth <howarth at bromo dot msbb dot uc dot edu>
- Cc: fortran at gcc dot gnu dot org
- Date: Sun, 10 Sep 2006 12:17:56 -0700
- Subject: Re: gfortran, -static and cctools
- References: <20060910191458.6A519110010@bromo.msbb.uc.edu>
On Sun, 2006-09-10 at 15:14 -0400, Jack Howarth wrote:
> Andrew,
> Shouldn't this be a PR then? One would think the
> compiler should know that on Darwin it is impossible
> to use the -static flag. A nice warning from the
> compiler would be better than to let the link fail
> instead.
No rather you should not try to use it. Anyways -static is used
internally to Apple so it should not produce a warning and two you can
generate static libc/libsystem if you really want a static program.
-- Pinski