Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uPython-mirror
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TASTE
uPython-mirror
Commits
06814bf4
PL1
Commit
06814bf4
authored
8 years ago
by
Damien George
Browse files
Options
Downloads
Patches
Plain Diff
leon: Update BUILD_GUIDE with info about paths for cc1 and leon2-emu.
parent
03e7c452
No related branches found
Tags
sw123-rev5
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
BUILD_GUIDE
+11
-1
11 additions, 1 deletion
BUILD_GUIDE
with
11 additions
and
1 deletion
BUILD_GUIDE
+
11
−
1
View file @
06814bf4
...
...
@@ -48,13 +48,23 @@ To build and run the code you will need:
- make, bash, and Python (2.6+ or 3.3+)
- a local/host C compiler and linker (usually gcc et al)
- a cross compiler for SPARC V8 (eg sparc-rtems-gcc)
- the RTEMS library (eg rtems-4.8)
- the RTEMS library (rtems-4.8 is supported)
- a SPARC emulator (for running the code, eg leon2-emu)
It is assumed that the host C compiler is in your path.
The location of the SPARC compiler and the RTEMS library are configured in the
leon-common/mkenv.mk file.
To optimise the built-in hash tables you also need to configure the location of
the SPARC cc1 executable in the tools/cc1 file, with the variable "cc1_path".
Alternatively, you can disable hash-table optimisation by commenting out the
line in Makefile that reads: CFLAGS += -no-integrated-cpp -B$(shell pwd)/../tools
To run the compiled code (eg for the tests) it is assumed that the "leon2-emu"
executable is in your path. This executable is referenced in some Makefile's
under the "run" target, as well as in the leon-tests/run-tests.sh script.
================================================================================
Building
================================================================================
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment