This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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: Fix inclusion of generated files


On Fri, Nov 01, 2002 at 08:58:04PM +1030, Alan Modra wrote:
> On Tue, Oct 29, 2002 at 10:16:56AM -0500, Daniel Jacobowitz wrote:
> > 	* ld/emultempl/aix.em: Use include <> for generated headers.
> 
> Breaks "make dep-am".  Better would be to distribute the generated
> files renamed (or in a subdir), then move-if-change to the build dir.

Blech.  That's ridiculously hard with automake.  Here's a compromise,
pulled out of a hat: if you use GCC 3.2 to run 'make dep-am', it will
do the right thing even with my changes.

And conveniently, for some reason I don't quite understand, you get an
error at make dep-am time if you use GCC 2.95 now.  The #include <>
confuses it to start putting $(shell pwd) at the beginning of
dependencies.

Is this OK with you?  If so, want me to add to the error output of make
dep-am mentioning this?

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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