URL
https://opencores.org/ocsvn/or1k/or1k/trunk
[/] [or1k/] [branches/] [oc/] [gdb-5.0/] [README.or32] - Blame information for rev 1771
Go to most recent revision |
Details |
Compare with Previous |
View Log
Line No. |
Rev |
Author |
Line |
1 |
104 |
markom |
README for GDB or32 distribution
|
2 |
|
|
|
3 |
|
|
This directory contains various GNU compilers, assemblers, linkers,
|
4 |
|
|
debuggers, etc., plus their support routines, definitions, and documentation.
|
5 |
|
|
|
6 |
|
|
It is now possible to automatically configure and build a variety of
|
7 |
|
|
tools with one command. To build all of the tools contained herein,
|
8 |
|
|
run the ``configure'' script here, e.g.:
|
9 |
|
|
|
10 |
|
|
./configure
|
11 |
|
|
make
|
12 |
|
|
|
13 |
|
|
To install them (by default in /usr/local/bin, /usr/local/lib, etc),
|
14 |
|
|
then do:
|
15 |
|
|
make install
|
16 |
|
|
|
17 |
|
|
In order to build gdb for or32 target, something like write:
|
18 |
|
|
|
19 |
|
|
./configure --target=or32-rtems
|
20 |
|
|
make all install
|
21 |
|
|
|
22 |
|
|
If you have more than one compiler on your system, it is often best to
|
23 |
|
|
explicitly set CC in the environment before running configure, and to
|
24 |
|
|
also set CC when running make. For example (assuming sh/bash/ksh):
|
25 |
|
|
|
26 |
|
|
CC=gcc ./configure
|
27 |
|
|
make
|
28 |
|
|
|
29 |
|
|
A similar example using csh:
|
30 |
|
|
|
31 |
|
|
setenv CC gcc
|
32 |
|
|
./configure
|
33 |
|
|
make
|
34 |
|
|
|
35 |
|
|
Much of the code and documentation enclosed is copyright by
|
36 |
|
|
the Free Software Foundation, Inc. See the file COPYING or
|
37 |
|
|
COPYING.LIB in the various directories, for a description of the
|
38 |
|
|
GNU General Public License terms under which you can copy the files.
|
39 |
|
|
|
40 |
|
|
REPORTING BUGS: Again, see gdb/README, binutils/README, etc., for info
|
41 |
|
|
on where and how to report problems.
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.