Comments (12)
There are no plan for PM AFAIK but you can cross compile programs for RISC-V and transfer them in
from oc2.
OC2 computers already can run any binaries that were compiled for RISC-V architecture (You can check this website for musl toolchain, if you want to build programs on C/C++).
from oc2.
a package manager would require real internet, which isnt implemented yet.
also gcc wouldn't fit into 8 MB
from oc2.
gcc wouldn't fit into 8 MB
how big is gcc again?
from oc2.
https://pkgs.alpinelinux.org/package/edge/main/riscv64/gcc
the alpine linux riscv64 gcc package (does not include g++ or support for any other languages besides C) is 70.89 MB
from oc2.
https://pkgs.alpinelinux.org/package/edge/main/riscv64/g++
adding g++ for C++ support would add an extra 20.55 MB
from oc2.
compiling will be very slow. if you really want to run c/c++ it will be best to just cross compile and transfer the files using the export/import card
from oc2.
it should be noted that the file import/export card corrupts data
from oc2.
its a bug, not intentional, someone made a python implementation that doesn't corrupt data but i dont think they released it, just mentioned that they did so its not the api, its the lua program
from oc2.
nevermind they did release it
https://gist.githubusercontent.com/ToMe25/87926996d7775cf273b6346ea19ac529/raw/182fdaed90b47783c87fbdd0e18b9b8108526b19/import.py
from oc2.
there is also the Coverett library which adds a program thats meant to replace the stock import/export lua program. the library also has binding for the hlapi for you can make c/c++ programs that can interact with peripherals
from oc2.
there is also the Coverett library which adds a program thats meant to replace the stock import/export lua program. the library also has binding for the hlapi for you can make c/c++ programs that can interact with peripherals
i heard that also corrupts data sometimes
from oc2.
Related Issues (20)
- Device Documentation, returnValueDescription
- Internet access from within vm HOT 2
- Custom fonts HOT 3
- Newer buildroot HOT 12
- Provide a way to wipe drives HOT 9
- Support Unicode character set ?
- Are nanomachines planned? HOT 4
- Robot console breaks after world reload
- A hook-based way to use redstone interface HOT 5
- C/C++ library for devices HOT 2
- Editing a file with vi changes character case
- harddisk size HOT 2
- transfer card can broke files HOT 2
- Is this mod being maintained? HOT 2
- Robots can break unbreakable blocks. HOT 6
- Projector color format HOT 1
- I want to Build the Mod, Verison 1.16 HOT 2
- Writing to projector framebuffer segfaults sometimes HOT 1
- I dont understand how computers work!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oc2.