Skip to content
← Back to Community
Can I make a OS on repl?
Profile icon
Rileymabb

I know you can make can OS with c++ but I wanna know if you can develop one right here on repl, can someone help?

Answered by Highwayman [earned 5 cycles]
View Answer
Voters
Profile icon
Rileymabb
Comments
hotnewtop
Profile icon
Highwayman
Profile icon
Rileymabb

@Highwayman
Thank you so much!

Profile icon
Highwayman

@Rileymabb
yw! Happy coding! :)

Profile icon
Rileymabb

@Highwayman
It doesn't work 'cause #1 it looks like repl doesn't have assembly and #2 it's c not c++ but that still works.

Profile icon
Highwayman

@Rileymabb

  1. yes we do. Read the tutorial carefully and you will discover that all you have to do is install an assembler on repl.it. You can do this with the install-pkg command.
  2. just switch out gcc for g++ and it should work.
Profile icon
Rileymabb

@Highwayman
Oh, sorry thank you.

Profile icon
Highwayman

@Rileymabb
you welcome! :) no need to be sorry always happy to help.

Profile icon
Rileymabb

@Highwayman
Wait I'm still confused with how you download/set up everything. I don't think the article does a good job of explaining how to set it up on repl.

Profile icon
Highwayman

@Rileymabb
@Rileymabb
ok, so you have your c++ repl. In the repl you can install the packages that the tutorial asks you to by typing the command install-pkg PKG, where PKG is the package name in the console. It should then cause a whole slew of info to output to the console and when it finishes you should have the package installed.

1D0EE096-83D0-4BFE-92A1-A86B0E65E9AE
C5EAF34B-2B57-4807-8C33-59FA8776473E

Profile icon
Highwayman

@Rileymabb
do you mean like you don’t really get where stuff goes?

Profile icon
Rileymabb

@Highwayman
Oh, thanks again.

Profile icon
LuckyHackers1

replit has NO WAY of running a os
you know what is assembly so how are you going to change registers from a browser

Profile icon
DynamicSquid

Probably? I know that there's some great tutorials out there.