This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/66871] .incbin in .S files does not appear in automatically generated dependencies
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 15 Jul 2015 10:39:38 +0000
- Subject: [Bug preprocessor/66871] .incbin in .S files does not appear in automatically generated dependencies
- Auto-submitted: auto-generated
- References: <bug-66871-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66871
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to David Woodhouse from comment #2)
> It would still be extremely useful for it to emit dependencies on those
> files which are actually included (after preprocessing).
>
> Otherwise we end up screwing around with preprocessing it and then looking
> for '.incbin' and generating the full set of dependencies manually. Which is
> horrid.
How about you file a bug to the assembler (binutils) asking to produce a .d
file with .incbin files? Or just post process the .s files and add it to the
.d file.