public inbox for cgen@sourceware.org
 help / color / mirror / Atom feed
* a question about porting
@ 2002-08-16  1:36 龚 源泉
  2002-08-19  8:26 ` Ben Elliston
  0 siblings, 1 reply; 2+ messages in thread
From: 龚 源泉 @ 2002-08-16  1:36 UTC (permalink / raw)
  To: cgen

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=gb2312; format=flowed, Size: 1233 bytes --]

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/

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

* Re: a question about porting
  2002-08-16  1:36 a question about porting 龚 源泉
@ 2002-08-19  8:26 ` Ben Elliston
  0 siblings, 0 replies; 2+ messages in thread
From: Ben Elliston @ 2002-08-19  8:26 UTC (permalink / raw)
  To: 龚 源泉; +Cc: cgen

Hi.

>>>>> "source" == source kong <gb2312> writes:

  source> One problem occured when we tried to practise a CGEN project. We followed 
  source> the the
  source> manual(http://sources.redhat.com/cgen/docs-1.0/cgen_5.html#SEC162):

Please try following the guidelines found in the CGEN FAQ for
regenerating files (in your case, the opcodes library files):

  http://sources.redhat.com/fom-serv/cgen/cache/7.html

Ben

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

end of thread, other threads:[~2002-08-19 15:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-16  1:36 a question about porting 龚 源泉
2002-08-19  8:26 ` 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).