From: saankhya-gururaj <gururaj@saankhyalabs.com>
To: cgen@sourceware.org
Subject: Problem in generating tools chain for M32R.
Date: Wed, 26 Dec 2007 12:00:00 -0000 [thread overview]
Message-ID: <47724351.5000908@saankhyalabs.com> (raw)
Hi All,
we are trying to build the tools chain for "m32r" architecture with
"cgen-20070901.tar.bz2" release.
I am following the instruction given in the "5.4.14 Interactive
development" of the Porting section of the html help manual .
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)|
In step 5 i am getting following error.
will any one please help me in generating tool chains(simulator and
assembler) for "m32r"?
/**********************************************/
guile> (cgen-opc.c)
Generating m32r-opc.c ...
/* Instruction opcode table for @arch@.
THIS FILE IS MACHINE GENERATED WITH CGEN.
Copyright 1996-2007 Free Software Foundation, Inc.
This file is part of the GNU Binutils and/or GDB, the GNU debugger.
This file is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3, or (at your option)
any later version.
It is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
#include "sysdep.h"
#include "ansidecl.h"
#include "bfd.h"
#include "symcat.h"
#include "@prefix@-desc.h"
#include "@prefix@-opc.h"
#include "libiberty.h"
Backtrace:
In ./opc-itab.scm:
724: 0* (opc-file-path)
724: 1 [gen-extra-opc.c ...
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 ./opc-itab.scm:
712: 9 [string-write "/* Instruction opcode table for @arch@.
THIS FILE IS MACHINE GENERATED WITH CGEN.
Copyright 1996-2007 Free Software Foundation, Inc.
This file is part of the GNU Binutils and/or GDB, the GNU debugger.
This file is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3, or (at your option)
any later version.
It is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
" ...]
In standard input:
4: 10* [cgen-opc.c]
./opc-itab.scm:724:32: In expression (opc-file-path):
./opc-itab.scm:724:32: Unbound variable: opc-file-path
ABORT: (unbound-variable)
/*****************************************************************/
reply other threads:[~2007-12-26 12:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=47724351.5000908@saankhyalabs.com \
--to=gururaj@saankhyalabs.com \
--cc=cgen@sourceware.org \
/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).