ok seriously me and my friend are so annoyed at kernels and os'es we just wanna smash up our computer. we eventually came to the annoying conclusion were not smart enough to make our own kernel. After looking on the net, we got the source of the linux kernel and decided to add some of our simple but funtional C++ apps that we've been learning for about 8 months.
but i cant compile it and dont know how. I know i dont visit here often its just i am rly annoyed at os development and it irratates me to see so many people can do it except we cant....
i always fail at programming
can someone help? please???? thanks a lot in advance
compile??
Re: compile??
The Linux API is in C, you can't add C++ functions and expect that all works fine together.
Some guys added C++ support features to the Linux kernel some years ago, but it's not officialy supported.
You must read kernel tutorials and books before start to code (us most of us did one day).
Some guys added C++ support features to the Linux kernel some years ago, but it's not officialy supported.
You must read kernel tutorials and books before start to code (us most of us did one day).
OS for PowerPC Macs: https://github.com/narke/Einherjar
Operating system: colorForth computing environment for x86.: https://github.com/narke/Roentgenium
Operating system: colorForth computing environment for x86.: https://github.com/narke/Roentgenium
-
- Member
- Posts: 524
- Joined: Sun Nov 09, 2008 2:55 am
- Location: Pennsylvania, USA
Re: compile??
As narke said the kernel is written in C. And by 'simple but functional' I'm guessing you mean they are the type of programs that low level C++ courses involve (ie "Input hourly wage, input hours, output wage"). In any case applications are not designed to go into a kernel, and they are run in user mode for a reason.simkinggold wrote:we got the source of the linux kernel and decided to add some of our simple but funtional C++ apps that we've been learning for about 8 months.
Are you sure you understand what a kernel is?
Re: compile??
That's probably why you failed at OS design. Try learning the basics first, or just give up on OSes.simkinggold wrote:but i cant compile it and dont know how.
JAL
-
- Posts: 10
- Joined: Mon Jul 14, 2008 12:25 pm
Re: compile??
I just don't get why making an os is so hard
Cool!
Fine we'll learn C thennarke wrote:Some guys added C++ support features to the Linux kernel some years ago, but it's not officialy supported.
There's tutorials and books like that?narke wrote:You must read kernel tutorials and books before start to code (us most of us did one day).
Cool!
Why should we just give up? If I came into contact with one of the Linux developers or developers of Ubuntu we might have a bit of helpjal wrote:Try learning the basics first, or just give up on OSes.
-
- Member
- Posts: 524
- Joined: Sun Nov 09, 2008 2:55 am
- Location: Pennsylvania, USA
Re: compile??
Doing anything with the Linux kernel will be a lot harder than just following tutorials like Bare Bones on the wiki and making your own OS. What type of functionallity are you trying to add? Have you taken a look at linux kernel modules?
What makes you think it would be easy?I just don't get why making an os is so hard
Probably not, unless what you're trying to add to the kernel will be useful for others.Why should we just give up? If I came into contact with one of the Linux developers or developers of Ubuntu we might have a bit of help
Re: compile??
I wouldn't say this on a forum full of OS devs who have worked hard to make their OSes.simkinggold wrote:I just don't get why making an os is so hard :x
For the same reason an infant shouldn't try to compete in the Olympic 100m dash. They aren't ready yet. Giving up isn't the thing to do, but setting realistic goals is. Learn how to crawl before learning how to walk (or run as the case may be).simkinggold wrote:Why should we just give up?
You can help yourself by learning more about programming, and reading the wiki. If you don't want to help yourself, why should any of us want to help you? (This is a rhetorical question)simkinggold wrote:If I came into contact with one of the Linux developers or developers of Ubuntu we might have a bit of help :?
- steveklabnik
- Member
- Posts: 72
- Joined: Wed Jan 28, 2009 4:30 pm
Re: compile??
simkinggold wrote:I just don't get why making an os is so hard
I call troll.simkinggold wrote:There's tutorials and books like that?
Cool!
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: compile??
I call this deliberately ignoring forum rules (missing required knowledge, repeated making of beginner mistakes).