gfortran, -static and cctools

Andrew Pinski pinskia@physics.uc.edu
Sun Sep 10 19:18:00 GMT 2006


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



More information about the Fortran mailing list