problem building gcc on Solaris 8

Alexandre Oliva aoliva@redhat.com
Thu May 17 11:10:00 GMT 2001


On May 16, 2001, Dinesh Somani <dinesh.somani@tibcofinance.com> wrote:

> Was trying to: build and install gcc 2.95.3...
> Summary:
>   make bootstrap stops, looking for ../libiberty/libiberty.a

That's because you told it to configure and build only the gcc
sub-directory, skipping the configury and build of libiberty.

>   2. cd gcc-2.95.3
>   3. mkdir objdir; cd objdir
>   4. ../gcc/configure --enable-threads --enable-languages=c++

You don't want objdir to be a sub-directory of the source tree.  Skip
step 2, then run ../gcc-2.95.3/configure in step 4.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



More information about the Gcc-help mailing list