Comments (4)
I read about Circle, but i’m searching a more direct implementation of C++ on bare metal levels… just for learning objective. The thing is that I want to use the class and object perspective of c++ instead of C. Even so, thank you for the help, of everything I have read you have given the most straight directions of all for newbies like me.
from rpi4-osdev.
Hi,
If you're using clang as your compiler, you simply use clang++ instead. Or if you're using gcc, use g++ instead.
Main changes (beyond the code) will be to the Makefile therefore, but the linking process should be the same.
I'd start simply and try to get part3 going in pure C++. I'm no C++ programmer, but I imagine the switch will be very easy. Circle is a good C++ OS/kernel that runs on the RPi - you might be able to take your cues from some of that too...
Thanks,
Adam
from rpi4-osdev.
Circle is here BTW: https://github.com/rsta2/circle
A
from rpi4-osdev.
I wish you all the best for it :) You've made a great decision to go on this journey! I agree that C++ would ultimately end up in a tidier codebase... Maybe one day I'll give it a go!!
from rpi4-osdev.
Related Issues (20)
- Typo - part 8 - "very my" HOT 2
- Typo - part 9 - "hz" HOT 4
- Link - part 11 - Not hypertext HOT 1
- Page number - part 14 - Incorrect page reference on datasheet HOT 1
- Explanation - part 14 - Active LOW HOT 1
- Typo - Part 14 - arp.c - random close comment HOT 1
- Raspberry Pi 4 kernel load address HOT 2
- Building to test on QEMU/KVM HOT 4
- Improve framebuffer drawing -- dual buffering or other technique? HOT 1
- Synchronous Exception at mmio_write() HOT 4
- External vs internal ethernet controller HOT 1
- Where is this stuff documented? HOT 1
- "Incorrect" mailbox protocol in part 5 HOT 2
- Question: USB Support HOT 12
- Timer 3 bar not fully painted in Part 13 (Interrupts) HOT 10
- Various Issues when creating the Makefile HOT 2
- fatal error becuase I apparantely didn't include my header files
- Question: How did you install aarch64? HOT 5
- Pull Up Pull down register is the wrong way around HOT 1
- part9-sound clock registers HOT 2
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 rpi4-osdev.