This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: problem building gcc on Solaris 8


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]