   Need help running GCC-3.0.4
  I just finished a 4 hour download of GCC-3.0.4 and i cant figure out where the build and make files are, i figured it dosen't have a visual program since it was made for md-dos, and i defently dont know how to make binary files for my os, i finly got convinced to use C for my kernel.Can anyone geve me some help?   
  Unless you downloaded C source for *the compiler itself* (in which case you have a bit of a bootstrapping problem :) ), you shouldn't be expecting to receive any build/make files. Those are things that are created on a per-project basis: you write one to represent your own project. (There exist tools like 'automake' that facilitate this process; and IDE "projects" basically work by writing makefiles automatically according to what files you tell the GUI are in your project.)If you downloaded just GCC, then yes, you won't have a GUI or anything. You should be able to compile a single source file as follows:- Make sure the GCC executable is in your path.- Create a file with .c extension and put it in your path. Say for example we have helloworld.c.- From the command prompt, navigate to the folder with your source, and do 'gcc helloworld.c'. This should (assuming there are no errors in your source code) produce an executable 'a.out'. On DOS you may need to rename this to a .exe extension in order to run it. You can also specify a name to compile to with the -o flag, e.g. 'gcc helloworld.c -o helloworld.exe'.   ;  What exactly are you trying to compile a cross-compiler for?   ;  If you are running Windows then you'll need to grab yourself a copy of Cygwin or MinGW which contains the Win32 ports of the build tools you need. If your running Linux then all the tools you need will be installed as part of the distribution.Once you have the necessary build tools it's simply a matter of extracting the GCC source code, creating a temporary "obj directory" inside the source folder then run "../configure" followed by "make" and going for a coffee (or several). Attempting to build GCC from inside the source directory isn't supported, it may work if you try, but it probably wont.Configuration of GCC has plenty of options to control how it's built sefore you start I'd recommend reading the following page which can be found on the GCC home page - linky, in particular the configuration and building portions.Since you're attempting to use an old version of GCC (the current version is 4.1.1) then you may be able to find a precompiled package for your platform around although it's not terribly to build and install GCC from the source code.   ;Quote:Original post by RavuyaWhat exactly are you trying to compile a cross-compiler for?Presumably it has something to do with this.   ;Quote:Original post by ThooverI just finished a 4 hour download of GCC-3.0.4 and i cant figure out where the build and make files are, i figured it dosen't have a visual program since it was made for md-dos, and i defently dont know how to make binary files for my os, i finly got convinced to use C for my kernel.Can anyone geve me some help?Many people would probably love to help you, however your question isn't very specific. On the other hand, based on the other guesses in this thread, you seem to be trying to build a gcc based cross-compiler?If that's the case, you should first get a binary version of your favorite compiler for your OS (for Win32, i.e. GCC (part of DevC++/CodeBlocks or CygWin) or MSVS Express), then you'll want to download the SOURCE CODE of gcc, probably you'll want to get the latest version that supported for your specific target platform. Then, you'll want to check out the "gcc cross compiler" docs, there are plenty of resources (howtos and shell scripts). Next, you'll want to configure the source tree according to your needs, this can usually be done easiest if you are using a *nix platform as your OS, as this will only require running configure with the correct switches (run configure --help for detailed info), if you are using Win32, make sure to really check out CygWin because this can tremendously simplify the job of building a gcc based cross compiler under Win32.   ;  all i want is to be able to use my copy of gcc 3.0.4 to compile my kernel so my os can have some graphics.   