URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
[/] [openrisc/] [trunk/] [gnu-dev/] [README] - Blame information for rev 776
Go to most recent revision |
Details |
Compare with Previous |
View Log
| Line No. |
Rev |
Author |
Line |
| 1 |
680 |
jeremybenn |
OpenRISC Development GNU Tool Chain Repository
|
| 2 |
|
|
==============================================
|
| 3 |
|
|
|
| 4 |
|
|
This directory is where you will find all the source trees for the development
|
| 5 |
|
|
version of the GNU tool chain. The newlib library is included, since that is
|
| 6 |
|
|
required for GCC testing. The code in this directory should be functional, but
|
| 7 |
|
|
is not considered stable.
|
| 8 |
|
|
|
| 9 |
|
|
Note that the Linux tool chain requires uClibc and Linux, which should be
|
| 10 |
|
|
downloaded using git.
|
| 11 |
|
|
|
| 12 |
|
|
Stable release source trees are found in the gdb-src directory.
|
| 13 |
|
|
|
| 14 |
|
|
The file structure mirrors that of the main Free Software Foundation
|
| 15 |
|
|
repository. There are two main directories:
|
| 16 |
|
|
|
| 17 |
|
|
"or1k-src" mirrors the upstream src directory and contains the code for
|
| 18 |
|
|
CGEN, binutils, newlib, gdb and associated libraries.
|
| 19 |
|
|
|
| 20 |
|
|
"or1k-gcc" mirrors the upstream gcc directory and contains the code for gcc
|
| 21 |
|
|
and its associated libraries.
|
| 22 |
|
|
|
| 23 |
|
|
The tool chains (or1k-elf for bare metal and or1k-linux-uclibc for Linux
|
| 24 |
|
|
applications) are built using a source tree, combining these two
|
| 25 |
|
|
directories.
|
| 26 |
|
|
|
| 27 |
|
|
Three scripts are provided
|
| 28 |
|
|
|
| 29 |
|
|
"bld-elf.sh" to build the newlib tool chain
|
| 30 |
|
|
"bld-linux-uclibc.sh" to build the uClibc tool chain
|
| 31 |
|
|
"bld-all.sh" to build both tool chains
|
| 32 |
|
|
|
| 33 |
|
|
By default the tests (which require DejaGnu to be installed) are *not* run.
|
| 34 |
|
|
|
| 35 |
|
|
Any questions should be posted on the OpenRISC forum at
|
| 36 |
|
|
opencores.org/forum,OpenRISC, or discussed on IRC at freenode.net, channel
|
| 37 |
|
|
#opencores.
|
| 38 |
|
|
|
| 39 |
|
|
|
| 40 |
|
|
Jeremy Bennett
|
| 41 |
|
|
1 March 2012
|
© copyright 1999-2026
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.