This is the mail archive of the gcc-patches@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: [PATCH] Avoid -lm and -lpthread in libjava on darwin



On 12 Aug 2010, at 23:31, Mike Stump wrote:
I'm curious, the simpler:

%<S remove all occurrences of -S from the command line.
Note - this command is position dependent. % commands in the
spec string before this one will see -S, % commands in the
spec string after this one will not.
%<S* remove all occurrences of all switches beginning with -S from the
command line.



seems like it could be used. Can that be made to work? If so and it's simpler, let's use that. If not, well, it was just an idea.

it doesn't work for outfiles,
.. you can do a target translate to Zlm and then swallow that - but the function is perhaps tidier.


cheers,

Iain


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