* Re: Porting opcodes
[not found] <001201c255bc$9b3faf90$22bb90c1@javier>
@ 2002-09-06 9:56 ` Shehryar Humayun
2002-09-06 9:57 ` Shehryar Humayun
1 sibling, 0 replies; 2+ messages in thread
From: Shehryar Humayun @ 2002-09-06 9:56 UTC (permalink / raw)
To: JCastillo; +Cc: cgen
[-- 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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Porting opcodes
[not found] <001201c255bc$9b3faf90$22bb90c1@javier>
2002-09-06 9:56 ` Porting opcodes Shehryar Humayun
@ 2002-09-06 9:57 ` Shehryar Humayun
1 sibling, 0 replies; 2+ messages in thread
From: Shehryar Humayun @ 2002-09-06 9:57 UTC (permalink / raw)
To: JCastillo; +Cc: cgen
[-- 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-09-06 16:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <001201c255bc$9b3faf90$22bb90c1@javier>
2002-09-06 9:56 ` Porting opcodes Shehryar Humayun
2002-09-06 9:57 ` Shehryar Humayun
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).