Ok,I'm preparing for this weekend to create a simple OS.I have only one doubt:
How can I create executables for my OS?
Creating executables
Re: Creating executables
You compile them as normal using gcc or any other tool of you choice.
Fudge - Simplicity, clarity and speed.
http://github.com/Jezze/fudge/
http://github.com/Jezze/fudge/
-
- Member
- Posts: 255
- Joined: Tue Jun 15, 2010 9:27 am
- Location: Flyover State, United States
- Contact:
Re: Creating executables
If you are using an already defined executable format such as PE or ELF:
Build a cross-compiler which supports generating code for your target processor and executable format.
If you are rolling your own executable format:
Modify a compiler to add support for your format. This can be very difficult.
Build a cross-compiler which supports generating code for your target processor and executable format.
If you are rolling your own executable format:
Modify a compiler to add support for your format. This can be very difficult.
- JackScott
- Member
- Posts: 1032
- Joined: Thu Dec 21, 2006 3:03 am
- Location: Hobart, Australia
- Mastodon: https://aus.social/@jackscottau
- GitHub: https://github.com/JackScottAU
- Contact:
Re: Creating executables
I'd read OS_Specific_Toolchain on the wiki, it answers your question pretty much perfectly.
Re: Creating executables
Thank very much guys!!!!