Is it possible to create an operating system in xcode?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Well Xcode has the ability to use GCC and by adding some flags you can create some of the files necessary to create an operating system. The problem comes with the assembly code needed to start the operating system off (can’t avoid it). You would have to create a script that runs after the build to use LD to link the assembly files required to actually allow you to create an ELF kernel image (monolithic kernel). I’m going to assume you know the details of writing an OS because you are simply asking if XCode 4 allows you to do it. Personally I wouldn’t recommend it, for SIG-OS I have written many and I just do Emacs, GCC, and LD and create a makefile (which makes it easier to manage sometimes).