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]: Separate target and host config files


Zack Weinberg wrote:
Nathan Sidwell <nathan@codesourcery.com> writes:

You might be able to get rid of the extra blank line by writing

#endif[]dnl
]))])

oh, don't think I didn't try all sorts of variations on that theme. Nothing works -- dnl gets copied through to the target. Trying to add/remove/move [] quotes was no help.

I think the redefinition of AH_TEMPLATE belongs in configure.ac, not
aclocal.m4, but if the autoconf custom is to put it in aclocal.m4 then
go with that.
I have no clue.  paolo is the expert there, and that's where he indicated
it should go.

I don't see how auto-host.h is now getting included in tconfig.h.

this line does it. ! xm_file="auto-host.h ansidecl.h ${xm_file}" that list is fed to mkconfig.sh, which spits out those #includes. The previous version of the patch had 'auto-target.h' at that point.

nathan

--
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk


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