Messages in this thread | | | Date | Mon, 14 Mar 2011 11:01:46 -0700 | From | "H. Peter Anvin" <> | Subject | Re: PATCH: Add --size-check=[error|warning] |
| |
On 03/14/2011 08:56 AM, Ian Lance Taylor wrote: > "Jan Beulich" <JBeulich@novell.com> writes: > >> No - $(AS) isn't being used to translate .S files, $(CC) is being used >> instead. That's why I pointed at the necessary -B option (so that >> the compiler would be able to locate the wrapper H.J. suggested). > > You could also just put a -Wa option in your $(CC). That seems simpler > than a -B option. > > (I don't really care about this issue one way or another.) >
-Wa is definitely the sane way to do it. The -B thing came in if you have to run a patched version of as, which is extremely painful.
-hpa
| |