Re: [patch] include the %I spec when building the object file for the main function
Andrew Haley <[email protected]>
| Newsgroups | gmane.comp.gcc.java.patches |
|---|---|
| Message-ID | <[email protected]> |
On 05/21/2013 08:23 AM, Matthias Klose wrote: > The inclusion of stdc-predef.h is new in 4.8, the bits/predefs.h is not found in > my case, because this header is on an include path, which is only added when cc1 > is passed the -imultiarch <tuple> option. The solution for me is to add the %I > spec, when calling cc1 to build the main function. > > Ok for the trunk, and for 4.8 after the 4.8.1 release? This is slighty baffling. GCC is auto-including stdc-predef.h, but the path info isn't sufficient? And why does this affect gcj? Andrew.