Still trying to start
Still trying to start
I've been trying to start OSdeving for some time but I still can't because I can never get a tutorial that works with the compiler/assembler I use.
Could anybody tell me were I could find a tutorial that uses the GNU c++ compiler for windows and NASM?
Also that doesn't use GRUB.
If there isn't any i'll just probably try using DJGPP.
Thanks in advance,
Jules
Could anybody tell me were I could find a tutorial that uses the GNU c++ compiler for windows and NASM?
Also that doesn't use GRUB.
If there isn't any i'll just probably try using DJGPP.
Thanks in advance,
Jules
Re: Still trying to start
I would suggest switching over to Cygwin or MinGW. Grub is also very useful for loading ELF binaries. I have a link to pre-compiled i586-elf toolset for Cygwin there. I used to use DJGPP too, but I like Cygwin much better.suthers wrote:If there isn't any i'll just probably try using DJGPP.
--Michael
Also, I gave you a link to my already compiled i586-elf cross compiler.
Here it is again: (Cygwin only)
http://code.google.com/p/onyxkernel/dow ... 2&can=2&q=
Here it is again: (Cygwin only)
http://code.google.com/p/onyxkernel/dow ... 2&can=2&q=
You may want to check out http://www.brokenthorn.com/Resources/OSDevIndex.html
I my oppinion a fantastic recourse and it works with nasm.
I my oppinion a fantastic recourse and it works with nasm.
This was supposed to be a cool signature...
OK, suthers, I think you are confused about a few things:
1) As stated, cygwin is not a compiler, it is a virtual UNIX environment (which happens to come with a compiler installed).
2) If you don't want to use GRUB (or a similar compatible multiboot loader) then there's no point in even looking at ELF as all your binaries will have to be in raw format anyway!
3) If you ARE looking at GRUB or similar, and want to look at tutorials, then make yourself a cross compiler in cygwin (see Wiki:GCC Cross Compiler), it's a very good article written by Solar, which I am in fact now following to make an i686 compiler at this moment...
So, if you're looking to make your own bootloader, I reccommend Neon's tutorials at http://www.brokenthorn.com.
If you're looking to make your own kernel (and skip the bootloader for the moment), I reccommend you look at either Bran's kernel development tutorial, or these, which were written by someone here, but I can't remember who...
1) As stated, cygwin is not a compiler, it is a virtual UNIX environment (which happens to come with a compiler installed).
2) If you don't want to use GRUB (or a similar compatible multiboot loader) then there's no point in even looking at ELF as all your binaries will have to be in raw format anyway!
3) If you ARE looking at GRUB or similar, and want to look at tutorials, then make yourself a cross compiler in cygwin (see Wiki:GCC Cross Compiler), it's a very good article written by Solar, which I am in fact now following to make an i686 compiler at this moment...
So, if you're looking to make your own bootloader, I reccommend Neon's tutorials at http://www.brokenthorn.com.
If you're looking to make your own kernel (and skip the bootloader for the moment), I reccommend you look at either Bran's kernel development tutorial, or these, which were written by someone here, but I can't remember who...