This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
a question about porting
- From: =?gb2312?B?uagg1LTIqg==?= <source_kong at hotmail dot com>
- To: cgen at sources dot redhat dot com
- Date: Fri, 16 Aug 2002 16:36:19 +0800
- Subject: a question about porting
- Bcc:
dear sir/madam:
One problem occured when we tried to practise a CGEN project. We followed
the the manual(http://sources.redhat.com/cgen/docs-1.0/cgen_5.html#SEC162):
1.Run guile.
2.(load "dev.scm")
3.Load application, e.g. (load-opc) or (load-sim)
4.Load CPU description file, e.g. (cload #:arch "m32r")
5.Run generators until output looks reasonable, e.g. (cgen-opc.c).
We succeeded in the first two steps, but when we input (load-opc) or
(load-sim) in guile, it ouput the following information:
guile> (load-opc)
Skipping slib/sort, already loaded.
Backtrace:
0* [load-opc]
1* [load "read"]
2 [primitive-load-path "read"]
3* [maybe-load "slib/pp" #f pretty-print]
4 (letrec ((dynamic-func? #)) (let (#) (cond # # #)))
...
5 [primitive-load-path "slib/pp"]
6* (require (quote generic-write))
/usr/share/guile/slib/pp.scm:3:1: In expression (require (quote
generic-write)):
/usr/share/guile/slib/pp.scm:3:1: Unbound variable: require
ABORT: (misc-error)
We wonder how to solve this problem, would you please give us an answer,
thanks!
_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger:
http://messenger.microsoft.com/cn/