开发者

Xcode 4.0 operating system [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Clos开发者_运维百科ed 11 years ago.

Is it possible to create an operating system in xcode?


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).


nice thought, but xCode can only make either Mac OS X application / iOS application based on Mac OS X / iOS libraries.

To write an operating system (e.g. Linux), consider using Linux from Scratch sources & follow their guides.


Yes, it's also possible to signup here on stack overflow and accept other peoples answers

Xcode 3.1 was an update release of the developer tools for Mac OS X, and was the same version included with the iPhone SDK. It could target non-Mac OS X platforms, including iPhone OS 2.0. It included the GCC 4.2 and LLVM GCC 4.2 compilers -- Wikipedia

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜