NEWBIE Question: Generating Source Files

Frank Ch. Eigler fche@redhat.com
Wed Oct 4 07:46:00 GMT 2000


Hi -

On Wed, Oct 04, 2000 at 07:47:53AM -0700, Tracy.Kuhrt@microchip.com wrote:
> [...]
> The problem that I am having is generating the source files.  I have modified
> my opcodes/Makefile.am file to duplicate the m32r setup.  When I do a `make
> dep` in the opcodes directory, I am receiving the error:
> make: *** No rule to make target `xx-asm.c', needed by `DEP'.  Stop.
> [...]

Perhaps you missed adding a copy of the dependency portions in Makefile.in:

$(srcdir)/m32r-desc.h $(srcdir)/m32r-desc.c $(srcdir)/m32r-opc.h $(srcdir)/m32r-opc.c $(srcdir)/m32r-ibld.c $(srcdir)/m32r-opinst.c $(srcdir)/m32r-asm.c $(srcdir)/m32r-dis.c: $(M32R_DEPS)
        @true
stamp-m32r: $(CGENDEPS) $(CGENDIR)/m32r.cpu $(CGENDIR)/m32r.opc
        $(MAKE) run-cgen arch=m32r prefix=m32r options=opinst extrafiles=opinst

You could configure with "--enable-cgen-maint", or else use "make stamp-TARGET"
to rebuild opcodes/ by hand.

- FChE
-- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.2 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE520K1VZbdDOm/ZT0RAspRAJ957rbjCuySYPih/LGh/CMNb06TlgCePmTO
aGfqIGl6ZXvnFm02VrEIoVU=
=R5Rt
-----END PGP SIGNATURE-----


More information about the Cgen mailing list