Problems installing gcc

Rupert Wood me@rupey.net
Fri Jan 18 06:56:00 GMT 2002


Richard Gillespie wrote:

> I have downloaded the 3.0.3 package from sunfreeware.  I have used
> pgkadd to install the distribution.   I now have a /usr/local
> directory with 7 subdirectories. I am having trouble understanding
> the GNU installation instructions, I cannot find the "configure"
> file anywhere in the distribution.  How do I configure this package?

You don't; sunfreeware produce binary distributions. A binary
distribution will already have been configured and installed. Unless you
want to change configuration options or install path then you can use it
as-is, otherwise you'll have to download a source distribution of GCC
and configure, bootstrap and install.

You just need to add the main directories to the relevant path
environments, i.e. 

    /usr/local/bin      to     PATH
    /usr/local/lib      to     LD_LIBRARY_PATH
    /usr/local/man      to     MAN_PATH

etc. and you should be ready to go.

> GNU also recommends using their make utility, but it also must be
> compiled so what comes first, the "chicken or the egg"?

You need an existing compiler to build either; both the GCC and gmake
source distributions are designed to be compiled with virually any
compiler. Hence you can build gmake without GCC.

Rup.



More information about the Gcc-help mailing list