Where could i find gcc
Where could i find gcc
Hello everyone!
I have been developing my OS using turbo C++, Som one here told me that its 16bit compiler so I won't be able to develop protected mode code.....
Well can anyone link me to the site wehere I could download 32bit free compiler... I have tried searhing net but got only confusion i return...
since there are many OS devers here so they can give me the right stuff for me...
I will be using C++, C, and asm for os development...
plz help
I have been developing my OS using turbo C++, Som one here told me that its 16bit compiler so I won't be able to develop protected mode code.....
Well can anyone link me to the site wehere I could download 32bit free compiler... I have tried searhing net but got only confusion i return...
since there are many OS devers here so they can give me the right stuff for me...
I will be using C++, C, and asm for os development...
plz help
Re:Where could i find gcc
Try Cygwin. That will give you not only GCC / binutils, but a plethora of other useful tools as well (like make, Perl...).
Every good solution is obvious once you've found it.
Re:Where could i find gcc
ftp://ftp.gnu.org/gnu/gcc (Latest 4.0.1)
ftp://ftp.gnu.org/gnu/binutils (Latest 2.16.1)
If you're on Linux then you should know what you're doing from here, if you're on Windows then you need a Cygwin Installation so that you can compile and run the packages.
A guide for building a cross compiler is in the Wiki
ftp://ftp.gnu.org/gnu/binutils (Latest 2.16.1)
If you're on Linux then you should know what you're doing from here, if you're on Windows then you need a Cygwin Installation so that you can compile and run the packages.
A guide for building a cross compiler is in the Wiki
Re:Where could i find gcc
Thanks a lot for suggestions.... But, I would like to shift to DJGPP, 'cause of it's popularity, I am developing on WINDOWS... XP to be precise...
Re:Where could i find gcc
Cygwin is Windows. And as for popularity... well... Cygwin is the popular choice, at least on this board.Codemaster Snake wrote: Thanks a lot for suggestions.... But, I would like to shift to DJGPP, 'cause of it's popularity, I am developing on WINDOWS... XP to be precise...
Every good solution is obvious once you've found it.
Re:Where could i find gcc
http://www.delorie.com/djgpp/zip-picker.html = djgpp, i think it is easyer.
dosn't cygwin use a linix emulator DLL, so you could just the same start linux on bochs and use its gcc???
dosn't cygwin use a linix emulator DLL, so you could just the same start linux on bochs and use its gcc???
Re:Where could i find gcc
You could, if you could live with the slowness. Or you can pay for VMWare and use that. Cygwin is a distribution, the Cygwin project itself is the Cygwin compatibility library though, it is basically just a DLL that wraps existing Windows functionality to make it POSIX compliant so that programs like GCC can run natively.
Re:Where could i find gcc
Our FAQ says that DJGPP must be considered obsolete. It also mentions compatibility problems with WinXP. Cygwin is well supported upstream, and is the development environment assumed in various parts of the FAQ.
And good luck running a Linux under Bochs. It would be slow as hell, and you would have to put up with installing and maintaining that Linux first.
Cygwin is, in a nutshell, a bash shell for Windows. It works at native speeds, and it's dead easy to install and maintain.
But it's of course everyone's individual choice to make.
And good luck running a Linux under Bochs. It would be slow as hell, and you would have to put up with installing and maintaining that Linux first.
Cygwin is, in a nutshell, a bash shell for Windows. It works at native speeds, and it's dead easy to install and maintain.
But it's of course everyone's individual choice to make.
Every good solution is obvious once you've found it.
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:Where could i find gcc
oh yeah ? and how would you give that linux-in-a-box the updated source file it needs ? and how would you retrieve the object files it generated ?GLneo wrote: so you could just the same start linux on bochs and use its gcc???
seriously, bochs is not an option for running modern linux versions unless you're on some non-x86 machine where no better alternative exists. And running a compiler in an emulated system is just ... insanity.
That's why people went to cross-compilers in first place.
Re:Where could i find gcc
I totally agree with you.... Running real OSes on BOCHS is real pain in a**. May be MS Virtual Machine could be a good option.... It comes with 45 day trial.... And every one knows what to do with that....seriously, bochs is not an option for running modern linux versions unless you're on some non-x86 machine where no better alternative exists. And running a compiler in an emulated system is just ... insanity.
Re:Where could i find gcc
The point is that Cygwin doesn't require you to get familiar with the whole underpinnings of Linux. It's just another Windows app.
Every good solution is obvious once you've found it.