GCC installing

dear, please just didn't understand the problem that appears when i try to install ./configure here is the message that appears in unix when installing gcc

  
root@ccbtest # ./configure
checking build system type... /bin/bash: ./config.guess: No such file or directory
configure: error: cannot guess build type; you must specify one
root@ccbtest #
 

I was trying the same following this tutorial

http:// ptribble. blogspot. com/2011/12/building-current-gcc-on-solaris-10. html

but I ended at the same problem too :wall:

You're trying to compile gcc, so you can use it to compile things. That is a catch-22. To compile gcc, you need a compiler.

Try installing gcc the normal way, using whatever your distribution's package manager is, instead of building it by hand. Unless you're using a source-only distro there's almost almost almost never a reason to build it by hand.

Thanks for you reply!

As far as I know Solaris 10 (sorry, I didn't mention my OS version before) comes with gcc but just an old version.

I'm not a sysadmin and I really don't know how is the normal way :confused:

Would you like to provide a link or an example about how is that, please?