summaryrefslogtreecommitdiff
path: root/devel/cgen/MESSAGE
blob: 709ad14bfb5eb006f82a5a5b440baab72a67b0f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
===========================================================================
$NetBSD: MESSAGE,v 1.1 2013/10/12 08:39:02 ryoon Exp $

To generating opcode file and description files for M32R, for example.
Please run the following commands.
In detail, see info files and ${PREFIX}/share/cgen/cgen/Makefile.in .

$ guile -l ${PREFIX}/share/cgen/cgen/guile.scm \
  -s ${PREFIX}/share/cgen/cgen/cgen-opc.scm \
  -s ${PREFIX}/share/cgen/cgen \
  -v \
  -a ${PREFIX}/share/cgen/cpu/m32r.cpu \
  -i "all" \
  -m "all" \
  -H m32r-desc.h \
  -C m32r-desc.c

$ guile -l ${PREFIX}/share/cgen/cgen/guile.scm \
  -s ${PREFIX}/share/cgen/cgen/cgen-doc.scm \
  -s ${PREFIX}/share/cgen/cgen \
  -v \
  -a ${PREFIX}/share/cgen/cpu/m32r.cpu \
  -H m32r.html \
  -I m32r-insn.html  
===========================================================================