public inbox for cgen@sourceware.org
 help / color / mirror / Atom feed
* Re: NEWBIE Question: Generating Source Files
@ 2000-10-04  8:31 Tracy.Kuhrt
  2000-10-04  9:03 ` Frank Ch. Eigler
  0 siblings, 1 reply; 8+ messages in thread
From: Tracy.Kuhrt @ 2000-10-04  8:31 UTC (permalink / raw)
  To: fche; +Cc: cgen

I did not modify the Makefile.in file.  I thought that was generated
automatically from the Makefile.am file with automake.  The lines that you
list below do not exist in either my Makefile.am or Makefile.in file for
m32r.  Those lines look pretty important :-)  I have pulled the latest
version from CVS on sources.redhat.com.  This appears to have those lines.
Obviously binutils-2.10 did not come with this version of Makefile.am.  I
will give that a shot.

Thanks for your help.  I could have been struggling for quite a while over
this.

Tracy




                                                                                                                                              
                    "Frank Ch.                                                                                                                
                    Eigler"              To:     Tracy.Kuhrt@microchip.com                                                                    
                    <fche@redhat.        cc:     cgen@sourceware.cygnus.com                                                                   
                    com>                 Subject:     Re: NEWBIE Question: Generating Source Files                                            
                                                                                                                                              
                    10/04/2000                                                                                                                
                    07:46 AM                                                                                                                  
                                                                                                                                              
                                                                                                                                              



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




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: NEWBIE Question: Generating Source Files
  2000-10-04  8:31 NEWBIE Question: Generating Source Files Tracy.Kuhrt
@ 2000-10-04  9:03 ` Frank Ch. Eigler
  0 siblings, 0 replies; 8+ messages in thread
From: Frank Ch. Eigler @ 2000-10-04  9:03 UTC (permalink / raw)
  To: Tracy.Kuhrt; +Cc: cgen

Hi -

On Wed, Oct 04, 2000 at 08:37:54AM -0700, Tracy.Kuhrt@microchip.com wrote:
> [...]
> Obviously binutils-2.10 did not come with this version of Makefile.am.  [...]

That's correct.  Red Hat published CGEN after binutils 2.10 and gdb 5.0 were
released.  Both packages' CVS repositories now contain the needed cgen-related
infrastructure.

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

iD8DBQE521S/VZbdDOm/ZT0RAtPDAJ9DJPix+Iu0tiQZrK2Ih2s0BcnOiwCbBTnB
h76Y/tg0Z+VYr6s06Miv0kQ=
=VRdQ
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: NEWBIE Question: Generating Source Files
  2000-10-04  9:51 Tracy.Kuhrt
@ 2000-10-04 10:02 ` Frank Ch. Eigler
  0 siblings, 0 replies; 8+ messages in thread
From: Frank Ch. Eigler @ 2000-10-04 10:02 UTC (permalink / raw)
  To: Tracy.Kuhrt; +Cc: cgen

Hi -

On Wed, Oct 04, 2000 at 09:57:39AM -0700, Tracy.Kuhrt@microchip.com wrote:
> Wouldn't you know it.  I am being refused connection.
> [...]
> cvs [login aborted]: connect to anoncvs.cygnus.com:2401 failed: Connection
> refused

This looks like a network firewalling problem on your side.

> C:\My Downloads>cvs --version
> Concurrent Versions System (CVS) 1.10.5 (client)
> I do not need a new version, do I?

Perhaps.  1.11 is the current version.


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

iD8DBQE522KOVZbdDOm/ZT0RAvGhAJ4sSukQuLS1GpT3yyQJZl+e7MAvtgCfYx4E
1uq4gm8MIii4ouebX8S46PI=
=4ShU
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: NEWBIE Question: Generating Source Files
@ 2000-10-04  9:51 Tracy.Kuhrt
  2000-10-04 10:02 ` Frank Ch. Eigler
  0 siblings, 1 reply; 8+ messages in thread
From: Tracy.Kuhrt @ 2000-10-04  9:51 UTC (permalink / raw)
  To: fche; +Cc: cgen

Wouldn't you know it.  I am being refused connection.

C:\My Downloads>cvs -z 9 -d :pserver:anoncvs@anoncvs.cygnus.com:/cvs/src
login
(Logging in to anoncvs@anoncvs.cygnus.com)
CVS password:
cvs [login aborted]: connect to anoncvs.cygnus.com:2401 failed: Connection
refused

C:\My Downloads>cvs --version

Concurrent Versions System (CVS) 1.10.5 (client)

I do not need a new version, do I?

Tracy




                                                                                                                                              
                    "Frank Ch.                                                                                                                
                    Eigler"              To:     Tracy.Kuhrt@microchip.com                                                                    
                    <fche@redhat.        cc:     cgen@sourceware.cygnus.com                                                                   
                    com>                 Subject:     Re: NEWBIE Question: Generating Source Files                                            
                                                                                                                                              
                    10/04/2000                                                                                                                
                    09:26 AM                                                                                                                  
                                                                                                                                              
                                                                                                                                              



Hi -

On Wed, Oct 04, 2000 at 09:19:01AM -0700, Tracy.Kuhrt@microchip.com wrote:
> Is there an easy way to get all the latest source for those packages?
[...]

Certainly - see the various project web pages on sources.redhat.com for
instructions on how to access the anonymous-CVS server.  The binutils,
cgen, and gdb sources are combined in one CVS repository.

- FChE




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: NEWBIE Question: Generating Source Files
  2000-10-04  9:12 Tracy.Kuhrt
@ 2000-10-04  9:26 ` Frank Ch. Eigler
  0 siblings, 0 replies; 8+ messages in thread
From: Frank Ch. Eigler @ 2000-10-04  9:26 UTC (permalink / raw)
  To: Tracy.Kuhrt; +Cc: cgen

Hi -

On Wed, Oct 04, 2000 at 09:19:01AM -0700, Tracy.Kuhrt@microchip.com wrote:
> Is there an easy way to get all the latest source for those packages?  [...]

Certainly - see the various project web pages on sources.redhat.com for
instructions on how to access the anonymous-CVS server.  The binutils,
cgen, and gdb sources are combined in one CVS repository.

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

iD8DBQE521opVZbdDOm/ZT0RApSCAJ9OlHpUoF4E66kfWYFstO/f/YJchwCeIvs9
UGHt9sUpm0h3KJDHaWhVU/w=
=7T5/
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: NEWBIE Question: Generating Source Files
@ 2000-10-04  9:12 Tracy.Kuhrt
  2000-10-04  9:26 ` Frank Ch. Eigler
  0 siblings, 1 reply; 8+ messages in thread
From: Tracy.Kuhrt @ 2000-10-04  9:12 UTC (permalink / raw)
  To: fche; +Cc: cgen

Is there an easy way to get all the latest source for those packages?  The
only way that I know how to get to the CVS repositories is through the web.
I have CVS installed so if I could connect to the server through that
interface, it would be a lot easier to download.

Tracy



                                                                                                                                              
                    "Frank Ch.                                                                                                                
                    Eigler"              To:     Tracy.Kuhrt@microchip.com                                                                    
                    <fche@redhat.        cc:     cgen@sourceware.cygnus.com                                                                   
                    com>                 Subject:     Re: NEWBIE Question: Generating Source Files                                            
                                                                                                                                              
                    10/04/2000                                                                                                                
                    09:03 AM                                                                                                                  
                                                                                                                                              
                                                                                                                                              



Hi -

On Wed, Oct 04, 2000 at 08:37:54AM -0700, Tracy.Kuhrt@microchip.com wrote:
> [...]
> Obviously binutils-2.10 did not come with this version of Makefile.am.
[...]

That's correct.  Red Hat published CGEN after binutils 2.10 and gdb 5.0
were
released.  Both packages' CVS repositories now contain the needed
cgen-related
infrastructure.

- FChE




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: NEWBIE Question:  Generating Source Files
  2000-10-04  7:41 Tracy.Kuhrt
@ 2000-10-04  7:46 ` Frank Ch. Eigler
  0 siblings, 0 replies; 8+ messages in thread
From: Frank Ch. Eigler @ 2000-10-04  7:46 UTC (permalink / raw)
  To: Tracy.Kuhrt; +Cc: cgen

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-----

^ permalink raw reply	[flat|nested] 8+ messages in thread

* NEWBIE Question:  Generating Source Files
@ 2000-10-04  7:41 Tracy.Kuhrt
  2000-10-04  7:46 ` Frank Ch. Eigler
  0 siblings, 1 reply; 8+ messages in thread
From: Tracy.Kuhrt @ 2000-10-04  7:41 UTC (permalink / raw)
  To: cgen

I am trying to evaluate CGEN to see if it an option for porting gas to a
new architecture.  I have created my .cpu file, and have run through the
interactive development environment in guile.  All looks good so far.  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.

I have followed the instructions in the cgen.info file under `Doing an
opcodes port`.  What file have I missed changing in order to generate the
source files for my architecture?

Tracy A. Kuhrt

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2000-10-04 10:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-10-04  8:31 NEWBIE Question: Generating Source Files Tracy.Kuhrt
2000-10-04  9:03 ` Frank Ch. Eigler
  -- strict thread matches above, loose matches on Subject: below --
2000-10-04  9:51 Tracy.Kuhrt
2000-10-04 10:02 ` Frank Ch. Eigler
2000-10-04  9:12 Tracy.Kuhrt
2000-10-04  9:26 ` Frank Ch. Eigler
2000-10-04  7:41 Tracy.Kuhrt
2000-10-04  7:46 ` Frank Ch. Eigler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).