OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [README] - Diff between revs 229 and 238

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 229 Rev 238
Line 26... Line 26...
/opt/or1ksim-new).
/opt/or1ksim-new).
 
 
The current version builds GDB separately, because it is not compatible with
The current version builds GDB separately, because it is not compatible with
the libraries in binutils used in the unified build.
the libraries in binutils used in the unified build.
 
 
 
Apple OS X notes:
 
 
 
  * Install required libraries with MacPorts:
 
 
 
Some GNU libraries that are not supplied as standard with Apple's OS X must be
 
installed. They could be built and installed independently but the author found
 
the  MacPorts package management system a simple and easy way to install them.
 
 
 
First the MacPorts app must be installed. To install MacPorts follow the
 
instructions on the  project's page here:  http://www.macports.org
 
 
 
Once MacPorts is installed install the packages "gmp", "mpfr", and "dejagnu"
 
with the command:
 
 
 
$ sudo port install gmp mpfr dejagnu
 
 
 
  * Build environment variables:
 
 
 
Once the require libraries are installed, their location must be passed to the
 
compiler. The CPPFLAGS, CFLAGS and LFLAGS environment variables are used for
 
this. The standard place MacPorts places its installed libraries is /opt/local
 
so if this default location was used export the following flags before running
 
the bld.sh script:
 
$ export CPPFLAGS="-I/opt/local/include"
 
$ export CFLAGS="-L/opt/local/lib"
 
$ export LDFLAGS="-L/opt/local/lib"
 
 
 
The bld.sh script should then be OK to run as described above.
 
 
Any questions should be posted on the OpenRISC forum at
Any questions should be posted on the OpenRISC forum at
opencores.org/forum,OpenRISC.
opencores.org/forum,OpenRISC.
 
 
 
 
Jeremy Bennett
Jeremy Bennett

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.