This is the mail archive of the
cgen@sourceware.org
mailing list for the CGEN project.
[Q] how can i run cgen interactively?
- From: ml at colors dot myhome dot cx
- To: cgen at sources dot redhat dot com
- Date: Mon, 24 Oct 2005 15:10:30 +0900
- Subject: [Q] how can i run cgen interactively?
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.7
i run cgen as followed. now i running cgen with m32r.
$ tar xjf cgen-20051015.tar.bz2
$ cd cgen-20051015/cgen/
$ guile
guile> (load "dev.scm")
guile> (load-opc)
guile> (cload #:arch "m32r")
guile> (cgen-desc.h)
Backtrace:
./desc-cpu.scm:1002:32: In expression (opc-file-path):
./desc-cpu.scm:1002:32: Unbound variable: opc-file-path
ABORT: (unbound-variable)
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.