public inbox for cgen@sourceware.org
 help / color / mirror / Atom feed
* Getting started...
@ 2001-04-25 12:50 Jakob Nielsen
  2001-05-01 17:18 ` Frank Ch. Eigler
  2001-05-08 20:41 ` Ben Elliston
  0 siblings, 2 replies; 3+ messages in thread
From: Jakob Nielsen @ 2001-04-25 12:50 UTC (permalink / raw)
  To: cgen

Hi,

I am working in the field of DSP Engineering and is currently working on
a specification for a new Ultra Low power DSP Core. I am therefore
interested in building a port of the core (as I think it should look
like) that can serve as specification and/or test purposes of the
hardware implementation in VHDL. However, I have the following
fundamental problems:

1) I have successfully installed Guile 1.4
2) When I try to run the ./configure file from the unpacked
cgen-1.0.tar.gz file I get the following messages:

[jnielsen@jnielsen cgen-1.0]$ ./configure
Configuring for a i686-pc-linux-gnu host.
Created "Makefile" in /home/jnielsen/cgen-1.0 using "mt-frag"
Configuring etc...
loading cache ../config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
creating ./config.status
creating Makefile

3) When I subsequently try to run Make the following message appears:
[jnielsen@jnielsen cgen-1.0]$ make
make[1]: Entering directory `/home/jnielsen/cgen-1.0/etc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/jnielsen/cgen-1.0/etc'
[jnielsen@jnielsen cgen-1.0]$

4) Conclusion: Not much happened!
5) However, I then try to manually invoke guile and do an opcodes-port
of the m32r using the procedure in section 5.5 of the manual. I can see
that the files are processed but no text outputs are generated. I assume
it is because the install is not done correctly.
I have also tried using the ./configure options specified in the manual
- same result.

6) I use Caldera Open Linux v2.3 using kernel 2.2.14.

I hope someone can help me getting started. I plan to do a complete port
of an existing design before starting on my own, so I can fully
understand the tools.

Thanks in advance.

Jakob.

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

* Re: Getting started...
  2001-04-25 12:50 Getting started Jakob Nielsen
@ 2001-05-01 17:18 ` Frank Ch. Eigler
  2001-05-08 20:41 ` Ben Elliston
  1 sibling, 0 replies; 3+ messages in thread
From: Frank Ch. Eigler @ 2001-05-01 17:18 UTC (permalink / raw)
  To: Jakob Nielsen; +Cc: cgen

Hi -

On Wed, Apr 25, 2001 at 03:53:05PM -0500, Jakob Nielsen wrote:
: I am working in the field of DSP Engineering and is currently working on
: a specification for a new Ultra Low power DSP Core. [...]
: 1) I have successfully installed Guile 1.4

Good.


: 2) When I try to run the ./configure file from the unpacked
: cgen-1.0.tar.gz file I get [nearly nothing]
: 3) When I subsequently try to run Make [nearly nothing happens again]
: 4) Conclusion: Not much happened!

Yes, this is normal.  cgen is not compiled, but interpreted.
(By the way, getting at cgen and the rest of the related tools
is much better from CVS than from the rare .tar.gz-type snapshots.)


: 5) However, I then try to manually invoke guile and do an opcodes-port
: of the m32r using the procedure in section 5.5 of the manual. I can see
: that the files are processed but no text outputs are generated. [...]

Some of the cgen-invoking wrapper scripts (in the opcodes and simulator
directories) overwrite generated source files only if the replacement
files are different.  They do this in order to preserve the time stamp.

I would suggest not invoking cgen through the interactive mechanisms,
but through the Makefiles in the opcodes/sim/etc. directories, as
described on the cgen faq-o-matic pages at
   http://sources.redhat.com/fom/cgen


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

iD8DBQE671IvVZbdDOm/ZT0RAhHTAJ9rEkWi6JIRb2jNrwI8kzmwStJ/QQCfVnWl
Mftp3vPjW1UCxPaI5m4ItfI=
=65h7
-----END PGP SIGNATURE-----

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

* Re: Getting started...
  2001-04-25 12:50 Getting started Jakob Nielsen
  2001-05-01 17:18 ` Frank Ch. Eigler
@ 2001-05-08 20:41 ` Ben Elliston
  1 sibling, 0 replies; 3+ messages in thread
From: Ben Elliston @ 2001-05-08 20:41 UTC (permalink / raw)
  To: Jakob Nielsen; +Cc: cgen

Hi.

>>>>> "Jakob" == Jakob Nielsen <jnielsen@dspfactory.com> writes:

  Jakob> 2) When I try to run the ./configure file from the unpacked
  Jakob> cgen-1.0.tar.gz file I get the following messages:

I would strongly recommend using the CGEN tree from the CVS
repository.  The cgen snapshot you're using is almost a year old now
and many improvements have been made since then.

  Jakob> 4) Conclusion: Not much happened!

Not much is meant to happen -- cgen is purely interpreted by Guile.
The `make' step is pretty much a no-op.

  Jakob> I hope someone can help me getting started. I plan to do a complete port
  Jakob> of an existing design before starting on my own, so I can fully
  Jakob> understand the tools.

Good idea.  Do you have opcodes/ and sim/ build trees ready to
regenerate the files?  There are FAQ items for doing this, if I recall
correctly.

Ben

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

end of thread, other threads:[~2001-05-08 20:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-25 12:50 Getting started Jakob Nielsen
2001-05-01 17:18 ` Frank Ch. Eigler
2001-05-08 20:41 ` Ben Elliston

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