From: blue <ml@colors.myhome.cx>
To: cgen@sources.redhat.com
Subject: [Q] how can i run cgen interactively?
Date: Mon, 24 Oct 2005 06:01:00 -0000 [thread overview]
Message-ID: <87vezna1wn.wl%ml@colors.myhome.cx> (raw)
hi, i'm a student of graduated school of Univ. in japan.
i'm trying to port gnu tool-chain to our new processor with cgen.
but i cannot run cgen interactively. how can i run it?
i'm trying to port Binutils-2.16.1 and GDB-6.2.
my environment is
OS: Debian GNU/Linux 3.1 sarge (stable)
CGEN: cgen-20051015
Guile: guile-1.6
i run cgen as following. now i run with m32r.
$ tar xjf cgen-20051015.tar.bz2
$ cd cgen-20051015/cgen/
$ guile
guile> (load "dev.scm")
...<snipped>
guile> (load-opc)
...<snipped>
guile> (cload #:arch "m32r")
...<snipped>
guile> (cgen-desc.h)
...<snipped> and ...
extern const CGEN_HW_ENTRY @arch@_cgen_hw_table[];
Backtrace:
In ./desc-cpu.scm:
1002: 0* (opc-file-path)
1002: 1 [gen-extra-cpu.h ...
In ./utils.scm:
414: 2* [#<procedure #f ()>]
414: 3 [-string-write #(print-state 0) ...
412: 4* (cond ((string? expr) (display expr)) ((symbol? expr) (display expr)) ...)
403: 5* [-string-write #(print-state 0) #<procedure #f ()>]
In unknown file:
?: 6* [#<procedure #f (elm)> #<procedure #f ()>]
In ./utils.scm:
403: 7* [for-each #<procedure #f #> #]
401: 8 (let ((pstate (make-print-state))) (set! -current-print-state pstate) ...)
In ./desc-cpu.scm:
966: 9 [string-write "/* CPU data header for @arch@. THIS FILE IS MACHINE GENERA$
In standard input:
4: 10* [cgen-desc.h]
./desc-cpu.scm:1002:32: In expression (opc-file-path):
./desc-cpu.scm:1002:32: Unbound variable: opc-file-path
ABORT: (unbound-variable)
guile>
could you please tell me how to run cgen interactively.
i found that opc-file-path is defined in cgen-opc.scm, so i tried to load it.
but i cannot load it.
--
blue
next reply other threads:[~2005-10-24 6:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-24 6:01 blue [this message]
2005-10-24 6:10 ml
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87vezna1wn.wl%ml@colors.myhome.cx \
--to=ml@colors.myhome.cx \
--cc=cgen@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).