User:Columbus/OR1K Toolchain: Difference between revisions
Content deleted Content added
m Added source link |
m Bot: Replace deprecated source tag with syntaxhighlight |
||
(4 intermediate revisions by one other user not shown) | |||
Line 10:
In some directory do
<
git clone git://github.com/openrisc/or1k-src.git
git clone git://github.com/openrisc/or1k-gcc.git
Line 70:
make -j8
make install -j8
</syntaxhighlight>
== Further ==
Line 76:
But you should know, that in the Assembler, you can only use [[GAS]]-Keywords, and or1k instructions.
If you don't have problems with that, have fun with linking and so on as usual.
I found an example of or1k-Assembly code. It's the asm code of the libc implementation of the or1k toolchain. Its [http://opencores.org/websvn,filedetails?repname=openrisc&path=%2Fopenrisc%2Ftrunk%2Fgnu-stable%2Fnewlib-1.18.0%2Flibgloss%2For32%2Fcrt0.S here].
One could also combine with the GDC-Toolchain tutorial, to have a really special thing. I didn't try this, and I don't know if or1k breaks GDC
If you're interested, the or1k page is [http://opencores.org/or1k/Main_Page here]. It contains the Architecture Specification, which names the instructions that you can use.
== Sources ==
|