This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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: [patch, darwin] repost of a patch to make "-static-libgfortan" work.



On 31 Dec 2008, at 10:23, Paolo Bonzini wrote:

What about static libgomp? If it is also so easy, it's worth doing it now (I was afraid it required getting rid of libgomp.spec.in).

This can't be done without some other addition - unless you make it a 'side effect' of -static-libgfortran or -static-libgcc
Personally, I think that's a bit icky ... it's better to be specific.


If a global "static-libgomp" is deemed a Good Idea then it would be easy

In the meantime - I'm working on a patch that introduces
"-mstatic-runtimes" as a darwin-only addition. (leaving libgcc_s. 10.x as shared, unless -static-libgcc is specified).


Of course, that might not be philosophically acceptable ..
.. and one needs to be very careful about using it if one is building code that also uses system frameworks.


cheers,
Iain


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