public inbox for cgen@sourceware.org
 help / color / mirror / Atom feed
From: Shehryar Humayun <shehryarhumayunkhan@yahoo.com>
To: JCastillo <javier_castillo_villar@yahoo.es>
Cc: cgen@sources.redhat.com
Subject: Re: Porting opcodes
Date: Fri, 06 Sep 2002 09:57:00 -0000	[thread overview]
Message-ID: <20020906165709.98910.qmail@web21205.mail.yahoo.com> (raw)
In-Reply-To: <001201c255bc$9b3faf90$22bb90c1@javier>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 1884 bytes --]

Hi,
I have generated 8 files for opcodes, though the
prefixes such as @arch@ in generated files have not
been replaced with m32r e.g. Otherwise,the files are
the same as currently available in binutils/opocodes/.

Here are the steps I followed:
0. Untar Guile and CGEN sources in some directories
1. I installed Guile-1.4.1
2. I created a temporary build directory 
3. cd to it
4. Write:
/root/cgen-1.0/configure srcdir=/root/cgen-1.0/cgen/
--target=m32r"
5. After configuring, write
        make opcodes ARCH=m32r
in the same build directory.
6. This generates the 8 opcode files.
7. To generate architecture description files, write
        make desc ARCH=m32r
8. To port GAS, you still have to write tc-arch.[ch]
files in which you would call some of the generated
files.
Take a close look at fr30 or m32r frameworks, their
tc-arch.[ch] files in binutils source tree, as well as
the 8 opcode files. 

If there is a problem in following the steps for
generating files, do let me know. I would love to help
in any possible way. I am new myself and would be of
little help though.

Regards

Shehryar

*******************************************************
--- JCastillo <javier_castillo_villar@yahoo.es> wrote:
> Hello.
> 
> I read your posts in the cgen mailing list and I am
> in the same situation as you. I have to make a port
> of an architecture with DSP extensions but
> I am very confused about the use of cgen.
> I am attempting to follow the instructions to
> generate the opcodes port but I don´t know how to
> obtain the files of the port and what to do with
> them next.
> I will be very gratefull if you can explain in
> detail the steps I have to follow to obtain a gas
> port from a .cpu file.
> 
>  Thank you very much
> 
> 
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

      parent reply	other threads:[~2002-09-06 16:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <001201c255bc$9b3faf90$22bb90c1@javier>
2002-09-06  9:56 ` Shehryar Humayun
2002-09-06  9:57 ` Shehryar Humayun [this message]

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=20020906165709.98910.qmail@web21205.mail.yahoo.com \
    --to=shehryarhumayunkhan@yahoo.com \
    --cc=cgen@sources.redhat.com \
    --cc=javier_castillo_villar@yahoo.es \
    /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).